/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 72c49db
 * Options:   --bitfields --packed-struct --output test326.c
 * Seed:      2721187360
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static int32_t g_2 = (-7L);
static int32_t g_5[4][9][7] = {{{(-2L),0L,(-1L),(-1L),0L,(-2L),0xDED68044L},{(-1L),0x452FA814L,0xF15CC7C4L,0x0977A124L,2L,(-9L),0xA8D3A18EL},{0x4307E4A9L,0x412894FFL,(-2L),0xEDBDA7FEL,(-2L),0x412894FFL,0x4307E4A9L},{0x26AF9031L,0x452FA814L,(-2L),0L,(-1L),(-4L),0xB94D0F4FL},{(-1L),0L,0x18A52733L,0xEB0647DCL,0xEB0647DCL,0x18A52733L,0L},{0xA8D3A18EL,0x3F30B91EL,(-2L),0x0271DBCAL,(-6L),0L,2L},{0xD9964974L,0xEB0647DCL,(-2L),0xD9964974L,0x412894FFL,0xB3799040L,0x18A52733L},{0xB94D0F4FL,0L,(-1L),0x3F30B91EL,0x707DFE4DL,0x452FA814L,0xB94D0F4FL},{(-2L),0x18A52733L,5L,0xD9964974L,0xAF2C9A13L,0xAF2C9A13L,0xD9964974L}},{{0xE77AB392L,(-4L),0xE77AB392L,(-9L),0x707DFE4DL,0x355FFF83L,(-1L)},{0xD9964974L,0x412894FFL,0L,0xDED68044L,0x412894FFL,(-1L),0x412894FFL},{(-2L),(-9L),5L,0x82F80C34L,(-1L),0x355FFF83L,0x707DFE4DL},{0xAF2C9A13L,(-2L),0x18A52733L,5L,0xD9964974L,0xAF2C9A13L,0xAF2C9A13L},{0xB94D0F4FL,1L,2L,1L,0xB94D0F4FL,0x452FA814L,0x707DFE4DL},{(-1L),(-4L),0xB3799040L,0xD9964974L,0x18A52733L,0xB3799040L,0x412894FFL},{5L,(-4L),(-9L),(-1L),0x26AF9031L,(-9L),(-1L)},{(-1L),0xD9964974L,(-1L),(-1L),0x412894FFL,0xEDBDA7FEL,0xD9964974L},{0xB94D0F4FL,0x611BC383L,5L,0x3F30B91EL,5L,0x611BC383L,0xB94D0F4FL}},{{0xAF2C9A13L,0xD9964974L,5L,0x18A52733L,(-2L),0xAF2C9A13L,0x18A52733L},{(-2L),(-4L),(-1L),1L,0x707DFE4DL,0x0271DBCAL,0x26AF9031L},{0xD9964974L,(-4L),5L,0xDED68044L,(-4L),0x18A52733L,0x412894FFL},{0xE77AB392L,1L,5L,0x355FFF83L,0x26AF9031L,0x355FFF83L,5L},{(-2L),(-2L),(-1L),0xDED68044L,0xD9964974L,0xEB0647DCL,(-2L)},{0xB94D0F4FL,(-9L),(-9L),1L,0xF15CC7C4L,0x611BC383L,0x707DFE4DL},{0xB3799040L,0x412894FFL,0xB3799040L,0x18A52733L,0xD9964974L,0xB3799040L,(-4L)},{0x707DFE4DL,(-4L),2L,0x3F30B91EL,0x26AF9031L,0x0977A124L,0x26AF9031L},{(-1L),0x18A52733L,0x18A52733L,(-1L),(-4L),0xB3799040L,0xD9964974L}},{{0xF15CC7C4L,0L,5L,(-1L),0x707DFE4DL,0x611BC383L,0xF15CC7C4L},{(-2L),0xD9964974L,0L,0xD9964974L,(-2L),0xEB0647DCL,0xD9964974L},{(-2L),0x58AAE07EL,0xE77AB392L,1L,5L,0x355FFF83L,0x26AF9031L},{0x18A52733L,0x412894FFL,5L,5L,0x412894FFL,0x18A52733L,(-4L)},{(-2L),1L,(-1L),0x82F80C34L,0x26AF9031L,0x0271DBCAL,0x707DFE4DL},{(-2L),0xAF2C9A13L,0x18A52733L,0xDED68044L,0x18A52733L,0xAF2C9A13L,(-2L)},{0xF15CC7C4L,1L,(-9L),(-9L),0xB94D0F4FL,0x611BC383L,(-1L)},{5L,0xAF2C9A13L,0xDED68044L,0xB3799040L,0xB3799040L,0xDED68044L,0xAF2C9A13L},{0xE77AB392L,0x452FA814L,(-1L),0x58AAE07EL,0xA8D3A18EL,0x0271DBCAL,0xF15CC7C4L}}};
static uint64_t g_14[7] = {0x33933B839BF5BF81LL,0x33933B839BF5BF81LL,0x33933B839BF5BF81LL,0x33933B839BF5BF81LL,0x33933B839BF5BF81LL,0x33933B839BF5BF81LL,0x33933B839BF5BF81LL};
static int32_t g_33 = (-1L);
static volatile int8_t g_103 = 0L;/* VOLATILE GLOBAL g_103 */
static uint64_t g_122 = 0x67CBA6E04B37A05FLL;
static uint16_t g_131[3] = {0UL,0UL,0UL};
static uint8_t g_145 = 7UL;
static uint16_t g_157[10][6] = {{0x673BL,65535UL,65535UL,0x673BL,0x4CCAL,0xFA45L},{0xC35AL,0x3C31L,0x673BL,0xDD1DL,6UL,0x6DD8L},{0x355CL,0xE760L,0xB29FL,0x7C59L,6UL,0x6DFBL},{0x5D1EL,0x3C31L,0x2163L,0xFEA0L,0x4CCAL,0x5D1EL},{0xE760L,65535UL,65535UL,65535UL,0xE760L,0xF031L},{0xFA45L,0xB29FL,6UL,0x673BL,0x836BL,0x2DBEL},{0x6DD8L,0xE250L,0x673BL,0xB29FL,0x5D1EL,0x2DBEL},{0x6DFBL,0xE760L,6UL,0x2163L,0xDD1DL,0xF031L},{0x5D1EL,0xB652L,65535UL,65535UL,0xB652L,0x5D1EL},{0xF031L,0xDD1DL,0x2163L,6UL,0xE760L,0x6DFBL}};
static const uint16_t * const g_156 = &g_157[4][2];
static int32_t g_160 = 0L;
static int8_t g_175[6][8][5] = {{{0x3AL,0xECL,(-2L),0xDFL,(-10L)},{0xD5L,(-1L),0x7DL,(-1L),0xD5L},{1L,0xECL,0x96L,0xAAL,0xD0L},{(-6L),0x85L,0xEAL,1L,1L},{0xAAL,(-1L),0xAAL,0xECL,0xD0L},{(-5L),1L,0x85L,0x10L,0xD5L},{0xD0L,(-10L),0xF4L,0xF4L,(-10L)},{0xEAL,0xD3L,0x85L,0xD5L,0x33L}},{{(-1L),(-1L),0xAAL,(-2L),0xBDL},{0L,0xEAL,0xEAL,0L,(-1L)},{(-1L),0xF4L,0x96L,1L,(-2L)},{0xEAL,(-4L),0x7DL,0x85L,0x7DL},{0xD0L,0xD0L,(-2L),1L,0x96L},{(-5L),0x10L,(-1L),0L,0xEAL},{0xAAL,(-2L),0xBDL,(-2L),0xAAL},{(-6L),0x10L,0x33L,0xD5L,0x85L}},{{1L,0xD0L,(-10L),0xF4L,0xF4L},{0xD5L,(-4L),0xD5L,0x10L,0x85L},{0x3AL,0xF4L,0xD0L,0xECL,0xAAL},{0x85L,0xEAL,1L,1L,0xEAL},{(-10L),(-1L),0xD0L,0xAAL,0x96L},{(-6L),0x33L,1L,(-4L),(-5L)},{0xD0L,0xDFL,0xDFL,0xD0L,(-1L)},{(-6L),0xEAL,0x7DL,0x10L,(-4L)}},{{0xDFL,1L,0x3AL,(-2L),0x3AL},{(-1L),(-1L),(-4L),0x10L,0x7DL},{0xAAL,(-1L),(-1L),0xD0L,0xDFL},{1L,(-4L),(-5L),(-4L),1L},{0xECL,(-1L),0xBDL,0xF4L,(-2L)},{0x10L,(-1L),0L,0xEAL,0xEAL},{0xF4L,1L,0xF4L,(-1L),(-2L)},{0xD5L,0xEAL,(-1L),0xD3L,1L}},{{(-2L),0xDFL,(-10L),(-10L),0xDFL},{0L,0x33L,(-1L),1L,0x7DL},{1L,0x96L,0xF4L,(-1L),0x3AL},{0x85L,0L,0L,0x85L,(-4L)},{1L,(-10L),0xBDL,0xECL,(-1L)},{0L,(-6L),(-5L),(-1L),(-5L)},{(-2L),(-2L),(-1L),0xECL,0xBDL},{0xD5L,0xD3L,(-4L),0x85L,0L}},{{0xF4L,(-1L),0x3AL,(-1L),0xF4L},{0x10L,0xD3L,0x7DL,1L,(-1L)},{0xECL,(-2L),0xDFL,(-10L),(-10L)},{1L,(-6L),1L,0xD3L,(-1L)},{0xAAL,(-10L),(-2L),(-1L),0xF4L},{(-1L),0L,0xEAL,0xEAL,0L},{0xDFL,0x96L,(-2L),0xF4L,0xBDL},{(-6L),0x33L,1L,(-4L),(-5L)}}};
static int32_t *g_228[7][3][4] = {{{&g_160,&g_160,&g_2,&g_2},{(void*)0,&g_2,(void*)0,(void*)0},{&g_5[1][1][0],&g_5[0][2][6],&g_2,&g_5[1][8][5]}},{{&g_5[2][3][5],&g_5[2][3][5],&g_5[1][8][3],&g_5[2][3][5]},{(void*)0,&g_2,&g_160,&g_160},{&g_2,&g_5[0][2][6],&g_5[1][1][0],&g_5[3][8][5]}},{{&g_2,(void*)0,(void*)0,&g_2},{&g_2,&g_5[1][8][5],&g_5[1][1][0],&g_5[3][0][0]},{&g_2,&g_2,&g_160,&g_160}},{{(void*)0,(void*)0,&g_5[1][8][3],&g_5[1][3][0]},{&g_5[2][3][5],(void*)0,&g_2,&g_5[3][0][0]},{&g_5[1][1][0],&g_160,(void*)0,(void*)0}},{{(void*)0,(void*)0,&g_2,(void*)0},{&g_160,&g_2,&g_2,&g_160},{&g_2,&g_5[3][7][4],&g_5[2][3][5],&g_5[2][2][4]}},{{&g_5[1][8][5],&g_5[3][7][4],&g_160,(void*)0},{&g_5[3][7][4],(void*)0,&g_5[1][8][3],&g_5[1][8][5]},{(void*)0,&g_160,(void*)0,(void*)0}},{{&g_2,(void*)0,(void*)0,&g_2},{&g_5[3][7][4],(void*)0,&g_2,&g_2},{&g_5[2][3][5],&g_2,&g_5[2][3][5],(void*)0}}};
static int32_t ** volatile g_227 = &g_228[4][1][3];/* VOLATILE GLOBAL g_227 */
static int16_t g_247 = 0xEBDCL;
static volatile int64_t g_248 = (-1L);/* VOLATILE GLOBAL g_248 */
static int64_t g_294 = 0x09884D231ED3BFB1LL;
static int64_t g_304 = 0x09CC18198BDFED1BLL;
static uint32_t g_305 = 0UL;
static volatile uint64_t g_321[10] = {1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL};
static uint64_t g_325 = 18446744073709551609UL;
static uint64_t *g_324 = &g_325;
static uint64_t g_353 = 8UL;
static uint16_t *g_423 = &g_131[0];
static uint16_t **g_422 = &g_423;
static uint16_t **g_424 = &g_423;
static volatile int64_t g_448[6] = {1L,1L,1L,1L,1L,1L};
static int16_t *g_454 = &g_247;
static int8_t *g_553 = &g_175[2][7][2];
static int8_t * volatile *g_552 = &g_553;
static int8_t g_571[3] = {0L,0L,0L};
static int32_t ** volatile g_652 = (void*)0;/* VOLATILE GLOBAL g_652 */
static uint16_t g_767 = 65535UL;
static int32_t *g_807[5][2][6] = {{{&g_2,&g_5[2][3][5],&g_2,&g_5[2][3][1],&g_2,&g_5[2][3][5]},{&g_2,&g_5[2][3][5],&g_5[2][3][5],&g_5[2][3][5],&g_2,&g_5[2][3][5]}},{{&g_2,&g_5[2][3][1],&g_2,&g_5[2][3][5],&g_2,&g_5[2][3][1]},{&g_2,&g_5[2][3][1],&g_5[2][3][5],&g_5[2][3][1],&g_2,&g_5[2][3][1]}},{{&g_2,&g_5[2][3][5],&g_2,&g_5[2][3][1],&g_2,&g_5[2][3][5]},{&g_2,&g_5[2][3][5],&g_5[2][3][5],&g_5[2][3][5],&g_2,&g_5[2][3][5]}},{{&g_2,&g_5[2][3][1],&g_2,&g_5[2][3][5],&g_2,&g_5[2][3][1]},{&g_2,&g_5[2][3][1],&g_5[2][3][5],&g_5[2][3][1],&g_2,&g_5[2][3][1]}},{{&g_2,&g_5[2][3][5],&g_2,&g_5[2][3][1],&g_2,&g_5[2][3][5]},{&g_2,&g_5[2][3][5],&g_5[2][3][5],&g_5[2][3][5],&g_2,&g_5[2][3][5]}}};
static volatile int16_t g_826 = 0x9CBBL;/* VOLATILE GLOBAL g_826 */
static int32_t ** volatile g_857 = (void*)0;/* VOLATILE GLOBAL g_857 */
static int32_t ** volatile g_858 = (void*)0;/* VOLATILE GLOBAL g_858 */
static int32_t ** volatile g_859 = &g_807[2][0][0];/* VOLATILE GLOBAL g_859 */
static const int16_t *g_869 = &g_247;
static const int16_t **g_868 = &g_869;
static int32_t *g_879 = &g_33;
static int32_t **g_878 = &g_879;
static int32_t ***g_877 = &g_878;
static int8_t g_925 = 0x85L;
static volatile int16_t g_933 = 0x7C90L;/* VOLATILE GLOBAL g_933 */
static volatile uint8_t g_951[7][9] = {{0x08L,0xB6L,0x9AL,0UL,0UL,0x9AL,0xB6L,0x08L,255UL},{0xF0L,0xA7L,0x08L,1UL,0xB6L,0xB6L,1UL,0x08L,0xA7L},{0UL,0x08L,0xF0L,255UL,0xBBL,0xD7L,0xD7L,0xBBL,255UL},{0UL,1UL,0UL,0xD7L,1UL,0xF0L,0x9AL,0x9AL,0xF0L},{0xF0L,0x08L,0UL,0x08L,0xF0L,255UL,0xBBL,0xD7L,0xD7L},{0x08L,0xA7L,0xF0L,0xD7L,0xF0L,0xA7L,0x08L,1UL,0xB6L},{0x9AL,0xB6L,0x08L,255UL,1UL,255UL,0x08L,0xB6L,0x9AL}};
static int32_t ** volatile g_952 = (void*)0;/* VOLATILE GLOBAL g_952 */
static const int64_t *g_961 = &g_294;
static int32_t ***g_1025 = &g_878;
static int64_t **g_1027 = (void*)0;
static uint8_t g_1070 = 255UL;
static int64_t ***g_1113 = &g_1027;
static int16_t g_1186 = 0xEF2BL;
static int32_t ** volatile g_1239 = &g_807[0][1][0];/* VOLATILE GLOBAL g_1239 */
static int32_t ** volatile g_1243 = &g_807[2][1][5];/* VOLATILE GLOBAL g_1243 */
static int32_t ** volatile g_1260 = &g_807[0][1][0];/* VOLATILE GLOBAL g_1260 */
static const int32_t ** volatile g_1262 = (void*)0;/* VOLATILE GLOBAL g_1262 */
static const uint16_t *** const *g_1308 = (void*)0;
static const uint16_t *** const **g_1307[7][7] = {{&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308},{(void*)0,&g_1308,(void*)0,(void*)0,&g_1308,(void*)0,(void*)0},{&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308},{(void*)0,&g_1308,&g_1308,(void*)0,&g_1308,&g_1308,(void*)0},{&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308},{(void*)0,(void*)0,&g_1308,(void*)0,(void*)0,&g_1308,(void*)0},{&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308,&g_1308}};
static int32_t ** volatile g_1328 = &g_807[0][1][0];/* VOLATILE GLOBAL g_1328 */
static int32_t ** volatile g_1383[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static int32_t ** volatile g_1384[7] = {(void*)0,&g_807[0][1][0],(void*)0,(void*)0,&g_807[0][1][0],(void*)0,(void*)0};
static int32_t ** volatile g_1385 = &g_807[0][1][0];/* VOLATILE GLOBAL g_1385 */
static int8_t **g_1427 = &g_553;
static int8_t ***g_1426 = &g_1427;
static int8_t ****g_1425 = &g_1426;
static uint32_t g_1518 = 18446744073709551610UL;
static const int8_t **g_1544 = (void*)0;
static const int8_t ***g_1543 = &g_1544;
static const int8_t ****g_1542 = &g_1543;
static volatile int8_t ***g_1546 = (void*)0;
static volatile int8_t *** volatile *g_1545 = &g_1546;
static int8_t g_1558[9][9][3] = {{{4L,0x53L,0xB9L},{0xD2L,1L,0L},{(-1L),0xBEL,(-4L)},{(-8L),0x67L,2L},{0L,2L,(-1L)},{0x91L,0x51L,0x61L},{(-1L),0x6FL,(-1L)},{0x7DL,6L,0x40L},{0L,1L,0x22L}},{{(-1L),2L,4L},{0L,(-8L),0x3BL},{(-1L),0L,(-1L)},{0L,0x08L,0x27L},{0x7DL,5L,0x08L},{(-1L),0L,1L},{0x91L,(-10L),0x3BL},{0L,1L,0xD2L},{(-8L),(-1L),0L}},{{(-1L),(-1L),1L},{0xD2L,4L,(-1L)},{4L,1L,0x61L},{(-10L),0L,0xD2L},{(-8L),0x22L,(-4L)},{0x3CL,(-1L),(-1L)},{0xE2L,0x64L,(-1L)},{(-1L),0x6FL,0xB9L},{1L,0x6FL,0xBFL}},{{0L,0x64L,0L},{0L,(-1L),4L},{0x8FL,0x22L,0x13L},{6L,0L,(-8L)},{0xBFL,1L,0xA3L},{0x7DL,4L,0x27L},{0L,(-1L),1L},{0xE2L,(-1L),0x13L},{6L,1L,(-1L)}},{{0L,(-10L),(-1L)},{(-1L),0L,0x40L},{5L,5L,(-1L)},{0xD2L,0x08L,(-1L)},{2L,0L,(-4L)},{0L,(-8L),(-10L)},{0x3CL,2L,(-4L)},{1L,1L,(-1L)},{(-1L),6L,(-1L)}},{{0x17L,0x6FL,0x40L},{0xBFL,0x51L,(-1L)},{0L,2L,(-1L)},{(-1L),0x67L,0x13L},{(-1L),0xBEL,1L},{(-1L),5L,0x53L},{0x99L,0x3CL,(-1L)},{0x17L,0xA3L,(-3L)},{0x13L,0x17L,0L}},{{(-3L),0xD2L,0L},{0xBFL,0x7DL,(-1L)},{0xFFL,0x17L,0xB9L},{6L,0L,0x62L},{6L,4L,0xBFL},{0xFFL,(-1L),(-1L)},{0xBFL,1L,0xEBL},{(-3L),(-1L),1L},{0x13L,0xCEL,0x28L}},{{0x17L,0x22L,1L},{0x99L,(-1L),(-1L)},{(-1L),(-6L),(-1L)},{0L,(-1L),1L},{0x08L,0xE2L,0x89L},{0x22L,1L,(-10L)},{0xB9L,0xD2L,0xD2L},{3L,0x3CL,0x53L},{(-5L),0x17L,(-4L)}},{{0x13L,1L,0x89L},{1L,(-1L),0L},{0x40L,1L,0xE2L},{0x8FL,0x17L,(-10L)},{1L,0x3CL,(-5L)},{6L,0xD2L,0x28L},{0L,1L,(-1L)},{0x40L,0xE2L,0x8FL},{0L,(-1L),0x6FL}}};
static volatile int8_t g_1561 = 0L;/* VOLATILE GLOBAL g_1561 */
static int32_t g_1695[3][2] = {{0x36272083L,0x36272083L},{0x36272083L,0x36272083L},{0x36272083L,0x36272083L}};
static uint32_t *g_1814[5][3] = {{&g_305,&g_305,&g_305},{&g_305,&g_305,&g_305},{&g_305,&g_305,&g_305},{&g_305,&g_305,&g_305},{&g_305,&g_305,&g_305}};
static uint32_t ** volatile g_1813 = &g_1814[3][0];/* VOLATILE GLOBAL g_1813 */
static int8_t g_1842 = 1L;
static int16_t g_1848 = (-9L);
static int32_t g_1861 = 0L;
static uint32_t g_1879[6][4] = {{0UL,0UL,0xB3CE0958L,0xC4B6D9A7L},{0xE661EE80L,18446744073709551608UL,0xE661EE80L,0xB3CE0958L},{0xE661EE80L,0xB3CE0958L,0xB3CE0958L,0xE661EE80L},{0UL,0xB3CE0958L,0xC4B6D9A7L,0xB3CE0958L},{0xB3CE0958L,18446744073709551608UL,0xC4B6D9A7L,0xC4B6D9A7L},{0UL,0UL,0xB3CE0958L,0xC4B6D9A7L}};
static uint32_t g_1881 = 0xD7CFEA72L;
static uint8_t g_1928 = 0x13L;
static int32_t **g_1963 = &g_807[0][1][0];
static int32_t *** volatile g_1962 = &g_1963;/* VOLATILE GLOBAL g_1962 */
static int8_t g_1967[7][4][9] = {{{8L,0x35L,7L,(-1L),0x7DL,0L,0x7DL,(-1L),7L},{0x96L,0x96L,1L,0xBFL,0L,(-4L),0xBEL,0xF2L,0L},{(-8L),0x76L,0x02L,(-4L),0xE7L,0x35L,(-1L),8L,0x08L},{0x64L,0x12L,1L,0x6FL,(-9L),0L,1L,9L,1L}},{{(-4L),0x14L,7L,7L,0x14L,(-4L),0x5AL,0x70L,(-1L)},{0x0DL,1L,0xECL,0L,(-10L),0x86L,1L,(-9L),(-10L)},{0x70L,0L,1L,(-4L),(-1L),0x41L,(-4L),0xE5L,0x14L},{0L,(-9L),0xF2L,0x9CL,(-10L),(-10L),0x9CL,0xF2L,(-9L)}},{{1L,0x70L,0x7DL,(-1L),(-8L),0x76L,0x02L,(-4L),0xE7L},{0x96L,0L,0x4BL,(-10L),0x19L,9L,(-7L),0x32L,0L},{(-2L),0x70L,(-4L),0x14L,(-7L),0x7DL,0xE7L,0xE7L,0x7DL},{(-4L),(-9L),0xECL,(-9L),(-4L),0L,1L,0L,0x19L}},{{(-1L),0L,0x72L,0xE7L,0x14L,8L,(-2L),1L,0x08L},{0x26L,0x9CL,0x6FL,0L,1L,0L,0x32L,0xC5L,0x12L},{0x35L,7L,(-1L),0x7DL,0L,0x7DL,(-1L),7L,0x35L},{1L,0xF2L,0xC5L,0x19L,0L,9L,(-4L),0x6DL,0x32L}},{{7L,0x72L,0x02L,0x08L,(-1L),0x76L,0L,(-1L),0x70L},{1L,0L,(-4L),0x12L,9L,(-10L),0x0DL,(-10L),9L},{0x35L,0xE5L,0xE5L,0x35L,0x72L,0x41L,(-1L),(-8L),8L},{0x26L,0xBEL,9L,0x32L,1L,0xECL,1L,0x19L,0xF2L}},{{(-1L),0x76L,7L,0x70L,0x72L,(-8L),(-1L),(-7L),(-1L)},{(-4L),0L,0L,9L,9L,0L,0L,(-4L),(-7L)},{(-2L),(-8L),(-1L),8L,(-1L),0xE5L,(-1L),0x14L,1L},{0x96L,0L,0x64L,0xF2L,0L,0x86L,1L,1L,(-7L)}},{{1L,(-1L),(-2L),(-1L),0L,0x70L,0x70L,0L,(-1L)},{0L,0x6FL,0L,(-7L),1L,1L,0x86L,0L,0xF2L},{0x70L,(-1L),0x35L,1L,0x14L,(-1L),0xE5L,(-1L),8L},{0x96L,(-9L),(-10L),0x64L,0x86L,0L,9L,0xBFL,0xBFL}}};
static volatile uint32_t g_1998 = 0x2A94C175L;/* VOLATILE GLOBAL g_1998 */
static volatile uint32_t g_2070[3][8] = {{0x267D8ADCL,18446744073709551610UL,9UL,0x8E4624B1L,9UL,18446744073709551610UL,0x267D8ADCL,0x267D8ADCL},{18446744073709551610UL,0x8E4624B1L,2UL,2UL,0x8E4624B1L,18446744073709551610UL,0xF2C0F571L,18446744073709551610UL},{0x8E4624B1L,18446744073709551610UL,0xF2C0F571L,18446744073709551610UL,0x8E4624B1L,2UL,2UL,0x8E4624B1L}};
static int32_t g_2086[10] = {0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL,0x9210832DL};
static uint64_t *g_2226 = &g_325;
static volatile uint32_t g_2296 = 0x53574605L;/* VOLATILE GLOBAL g_2296 */
static const uint16_t g_2343 = 0xE19CL;
static const uint64_t g_2430 = 0x9E6D6167FD5A9A77LL;
static const uint32_t * volatile g_2439 = &g_305;/* VOLATILE GLOBAL g_2439 */
static const uint32_t * volatile *g_2438 = &g_2439;
static const uint32_t * volatile * const  volatile *g_2437 = &g_2438;
static const uint32_t * volatile * const  volatile **g_2436 = &g_2437;
static int8_t g_2505 = 0L;
static int32_t * const  volatile g_2542 = (void*)0;/* VOLATILE GLOBAL g_2542 */
static int8_t g_2623 = 0xB1L;
static const uint64_t *g_2651[2][2] = {{&g_14[6],&g_14[6]},{&g_14[6],&g_14[6]}};
static const uint64_t **g_2650 = &g_2651[1][1];
static uint16_t ****g_2663 = (void*)0;
static uint16_t *****g_2662[9][4] = {{(void*)0,(void*)0,(void*)0,&g_2663},{(void*)0,&g_2663,&g_2663,(void*)0},{&g_2663,&g_2663,&g_2663,&g_2663},{&g_2663,(void*)0,&g_2663,&g_2663},{&g_2663,&g_2663,&g_2663,&g_2663},{(void*)0,(void*)0,(void*)0,&g_2663},{(void*)0,&g_2663,&g_2663,(void*)0},{&g_2663,&g_2663,&g_2663,&g_2663},{&g_2663,(void*)0,&g_2663,&g_2663}};
static const int32_t *g_2670 = &g_1695[2][0];
static const int32_t ** const  volatile g_2669 = &g_2670;/* VOLATILE GLOBAL g_2669 */
static int16_t * const *g_2788 = &g_454;
static int16_t * const **g_2787 = &g_2788;
static int16_t * const ***g_2786 = &g_2787;
static int16_t * const **** volatile g_2785 = &g_2786;/* VOLATILE GLOBAL g_2785 */
static volatile int32_t g_2840 = 0L;/* VOLATILE GLOBAL g_2840 */
static volatile int32_t * volatile g_2839 = &g_2840;/* VOLATILE GLOBAL g_2839 */
static int32_t g_2977[9][8] = {{0x2B9CF852L,0x1BED9AFAL,1L,0L,0xDE6B25B5L,0x03D7143BL,1L,0x437AD45BL},{(-9L),0x4ECACB5EL,0xDFAA9A5CL,0L,0xA14A4196L,1L,(-3L),1L},{0x3B8B2C9AL,0xA14A4196L,(-10L),0xA14A4196L,0x3B8B2C9AL,0L,0xDE6B25B5L,1L},{0xDE6B25B5L,1L,0x03D7143BL,0x058432C9L,1L,0x1BED9AFAL,(-3L),0xA14A4196L},{(-10L),0xDFAA9A5CL,0x03D7143BL,0x4ECACB5EL,0L,0xDE6B25B5L,0xDE6B25B5L,0L},{1L,(-10L),(-10L),1L,0L,0x437AD45BL,(-3L),(-3L)},{0x4ECACB5EL,0x03D7143BL,0xDFAA9A5CL,(-10L),0x437AD45BL,0L,1L,0x058432C9L},{0x058432C9L,0x03D7143BL,1L,0xDE6B25B5L,0xDFAA9A5CL,0x437AD45BL,0xDFAA9A5CL,0xDE6B25B5L},{0xA14A4196L,(-10L),0xA14A4196L,0x3B8B2C9AL,0L,0xDE6B25B5L,1L,0xDFAA9A5CL}};
static uint8_t g_3007 = 248UL;
static int64_t **** const  volatile g_3033 = (void*)0;/* VOLATILE GLOBAL g_3033 */
static volatile uint32_t g_3086 = 1UL;/* VOLATILE GLOBAL g_3086 */
static volatile uint64_t g_3327 = 9UL;/* VOLATILE GLOBAL g_3327 */
static volatile int32_t g_3364 = 0xECAD1E9EL;/* VOLATILE GLOBAL g_3364 */
static int32_t g_3382 = 0L;
static volatile int32_t g_3386 = 1L;/* VOLATILE GLOBAL g_3386 */
static uint16_t g_3390 = 65527UL;
static int64_t g_3500[9] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
static const uint8_t g_3513 = 0x7DL;
static int16_t **g_3520 = &g_454;
static int16_t ** const *g_3519 = &g_3520;
static int32_t g_3545 = 0L;
static int32_t ****g_3610 = &g_877;
static int32_t *****g_3609[4] = {&g_3610,&g_3610,&g_3610,&g_3610};
static uint8_t **g_3621 = (void*)0;
static uint8_t ***g_3620 = &g_3621;
static volatile int32_t g_3646 = (-1L);/* VOLATILE GLOBAL g_3646 */
static int32_t g_3648 = 0L;
static volatile int32_t g_3672 = 0x332C5BDBL;/* VOLATILE GLOBAL g_3672 */
static uint32_t g_3734 = 4294967295UL;
static uint64_t * const *g_3774 = &g_324;
static uint64_t * const **g_3773 = &g_3774;
static volatile uint32_t g_3809 = 0UL;/* VOLATILE GLOBAL g_3809 */
static int32_t g_3811 = 0x08E6FCB3L;
static uint32_t g_3827 = 0x3A9F6161L;
static uint64_t g_3887 = 1UL;
static volatile uint32_t g_3908 = 0UL;/* VOLATILE GLOBAL g_3908 */
static int8_t ** const *g_3937 = &g_1427;
static int8_t ** const **g_3936 = &g_3937;
static int8_t ** const ***g_3935[7] = {&g_3936,&g_3936,(void*)0,&g_3936,&g_3936,(void*)0,&g_3936};
static const volatile int8_t g_4015 = 0xF3L;/* VOLATILE GLOBAL g_4015 */
static const int32_t ** volatile g_4038 = &g_2670;/* VOLATILE GLOBAL g_4038 */
static const int32_t ** volatile g_4109[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static const int32_t ** volatile g_4110[2] = {&g_2670,&g_2670};
static volatile int8_t g_4127 = 0x95L;/* VOLATILE GLOBAL g_4127 */
static const int32_t ** volatile g_4180 = &g_2670;/* VOLATILE GLOBAL g_4180 */
static uint32_t **g_4184 = &g_1814[3][0];
static uint32_t ***g_4183 = &g_4184;
static uint32_t ***g_4187 = &g_4184;
static volatile uint32_t *g_4219 = &g_2070[1][4];
static volatile uint32_t * volatile * const g_4218 = &g_4219;
static uint8_t g_4230 = 253UL;
static uint64_t g_4332 = 18446744073709551608UL;
static int64_t g_4374 = (-4L);
static volatile int32_t g_4376[4] = {0xFADC6238L,0xFADC6238L,0xFADC6238L,0xFADC6238L};
static volatile int32_t g_4445 = 0L;/* VOLATILE GLOBAL g_4445 */
static int64_t g_4457[3][10][4] = {{{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL}},{{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL}},{{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL},{0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL,0x7BF9FC003BC58EBALL}}};
static volatile uint32_t g_4462 = 4294967295UL;/* VOLATILE GLOBAL g_4462 */
static volatile int64_t g_4465[8] = {0x11E9822E916BB261LL,8L,0x11E9822E916BB261LL,0x11E9822E916BB261LL,8L,0x11E9822E916BB261LL,0x11E9822E916BB261LL,8L};
static int16_t ***g_4478 = &g_3520;
static int16_t ****g_4477 = &g_4478;
static const int64_t g_4500 = 0x0C1E3CE9E46C906DLL;
static const int64_t * const g_4499 = &g_4500;
static const int64_t * const *g_4498 = &g_4499;
static const int64_t * const **g_4497 = &g_4498;
static int64_t *g_4503 = &g_3500[1];
static int64_t * const *g_4502[8][10] = {{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0},{&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,&g_4503,(void*)0}};
static int64_t * const **g_4501[7] = {&g_4502[3][2],&g_4502[3][2],&g_4502[3][2],&g_4502[3][2],&g_4502[3][2],&g_4502[3][2],&g_4502[3][2]};
static const int32_t g_4517 = 0L;


/* --- FORWARD DECLARATIONS --- */
static const int32_t  func_1(void);
static int32_t  func_9(int64_t  p_10, int32_t  p_11);
static uint16_t  func_19(uint16_t  p_20, uint8_t  p_21, int8_t  p_22, uint64_t  p_23);
static uint16_t  func_29(int32_t  p_30);
static int32_t  func_41(uint32_t  p_42, uint64_t * p_43, uint64_t * const  p_44, int32_t * p_45, int32_t  p_46);
static uint64_t * func_58(uint32_t  p_59, uint64_t * p_60, int32_t * p_61, uint16_t  p_62, uint8_t  p_63);
static uint64_t * func_64(int32_t  p_65, const int16_t  p_66, const int32_t * p_67, int64_t  p_68);
static int8_t  func_74(int16_t  p_75, int8_t  p_76);
static const int32_t  func_79(uint64_t * p_80, const uint8_t  p_81, int64_t  p_82, int16_t  p_83, uint16_t  p_84);
static int32_t  func_87(const uint32_t  p_88);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_5 g_14 g_3908 g_324 g_325 g_4517
 * writes: g_2 g_5 g_14
 */
static const int32_t  func_1(void)
{ /* block id: 0 */
    uint64_t l_3909 = 5UL;
    int32_t l_3910 = 1L;
    int16_t ***l_3915 = &g_3520;
    int16_t ****l_3914 = &l_3915;
    int32_t l_3916 = 0x14295956L;
    int32_t *** volatile *l_3931[3][10][7] = {{{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962,&g_1962},{(void*)0,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,(void*)0,(void*)0,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962}},{{&g_1962,&g_1962,&g_1962,(void*)0,(void*)0,&g_1962,&g_1962},{(void*)0,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,(void*)0},{&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962},{&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962}},{{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,(void*)0,&g_1962},{&g_1962,(void*)0,&g_1962,&g_1962,(void*)0,&g_1962,(void*)0},{&g_1962,&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,(void*)0,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,(void*)0,&g_1962,&g_1962,&g_1962,(void*)0,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962},{&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962,&g_1962}}};
    int8_t *****l_3934 = &g_1425;
    uint32_t l_4042 = 0xF4491E5CL;
    uint8_t l_4122 = 1UL;
    const uint16_t * const *l_4157 = &g_156;
    uint32_t ***l_4185 = &g_4184;
    int8_t l_4205 = 0xF2L;
    int32_t ***l_4206 = (void*)0;
    int16_t ***l_4209 = (void*)0;
    int8_t l_4240[8] = {(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L),(-5L)};
    int64_t *l_4282 = &g_3500[1];
    int64_t l_4286 = 0x430BDEEC3847BB75LL;
    uint16_t *****l_4333 = &g_2663;
    int16_t l_4357[3][1][5] = {{{1L,1L,1L,1L,1L}},{{0L,1L,0L,1L,0L}},{{1L,1L,1L,1L,1L}}};
    uint32_t *l_4481 = (void*)0;
    uint32_t **l_4480[10] = {&l_4481,&l_4481,&l_4481,&l_4481,&l_4481,&l_4481,&l_4481,&l_4481,&l_4481,&l_4481};
    uint32_t ***l_4479 = &l_4480[5];
    uint16_t l_4514 = 0x494EL;
    int i, j, k;
    for (g_2 = 0; (g_2 < (-26)); g_2--)
    { /* block id: 3 */
        const int16_t l_8 = 0x8ED0L;
        uint8_t *l_3903 = (void*)0;
        int32_t *l_3911 = (void*)0;
        int32_t *l_3912 = (void*)0;
        int32_t *l_3913 = &g_5[2][3][5];
        int16_t *****l_3955 = &l_3914;
        uint32_t ****l_4001 = (void*)0;
        const int32_t l_4011 = 0x66716810L;
        const uint16_t *** const **l_4051 = &g_1308;
        int32_t l_4068 = (-3L);
        int32_t **** const l_4092 = (void*)0;
        for (g_5[2][3][5] = (-24); (g_5[2][3][5] > (-19)); ++g_5[2][3][5])
        { /* block id: 6 */
            return l_8;
        }
        (*l_3913) = (func_9(g_5[2][3][5], (safe_lshift_func_int8_t_s_u((g_14[2] ^= g_5[1][5][2]), 7))) == ((l_3910 = (((safe_mul_func_uint16_t_u_u((safe_rshift_func_int8_t_s_s((safe_sub_func_int16_t_s_s((safe_rshift_func_uint64_t_u_u(((l_8 , ((&g_3513 == ((safe_div_func_int32_t_s_s(0x656C85AFL, 0x7B71C08EL)) , l_3903)) | ((safe_sub_func_uint8_t_u_u((safe_mod_func_uint8_t_u_u((1UL < g_3908), l_8)), 0x4FL)) <= (*g_324)))) == 4L), 55)), (-10L))), l_3909)), 0xCFFFL)) == l_3909) , 0x22AB2BA7L)) | 2UL));
    }
    return g_4517;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t  func_9(int64_t  p_10, int32_t  p_11)
{ /* block id: 10 */
    uint32_t l_24 = 0xFF51885AL;
    uint64_t l_28[10][5][1] = {{{1UL},{0xFE98D7E942FAFECELL},{18446744073709551615UL},{0xA458230B545435D7LL},{18446744073709551615UL}},{{0xFE98D7E942FAFECELL},{1UL},{0x048C84060A3B7DC4LL},{5UL},{0x048C84060A3B7DC4LL}},{{1UL},{0xFE98D7E942FAFECELL},{18446744073709551615UL},{0xA458230B545435D7LL},{18446744073709551615UL}},{{0xFE98D7E942FAFECELL},{1UL},{0x048C84060A3B7DC4LL},{5UL},{0x048C84060A3B7DC4LL}},{{1UL},{0xFE98D7E942FAFECELL},{18446744073709551615UL},{0xA458230B545435D7LL},{18446744073709551615UL}},{{0xFE98D7E942FAFECELL},{1UL},{0x048C84060A3B7DC4LL},{5UL},{0x048C84060A3B7DC4LL}},{{1UL},{0xFE98D7E942FAFECELL},{18446744073709551615UL},{0xA458230B545435D7LL},{18446744073709551615UL}},{{0xFE98D7E942FAFECELL},{1UL},{0x048C84060A3B7DC4LL},{5UL},{0x048C84060A3B7DC4LL}},{{1UL},{0xFE98D7E942FAFECELL},{18446744073709551615UL},{0xA458230B545435D7LL},{18446744073709551615UL}},{{0xFE98D7E942FAFECELL},{1UL},{0x048C84060A3B7DC4LL},{5UL},{0x048C84060A3B7DC4LL}}};
    uint8_t l_31 = 0x7EL;
    int64_t *l_3112 = &g_294;
    uint16_t **l_3129 = &g_423;
    const int32_t *l_3131[8][1] = {{&g_33},{&g_33},{&g_33},{&g_33},{&g_33},{&g_33},{&g_33},{&g_33}};
    int32_t l_3133 = 0L;
    int32_t l_3168 = (-1L);
    int32_t l_3170 = 0xD60FE4A1L;
    int32_t l_3171 = 0x8AE84604L;
    int32_t l_3174[3];
    uint32_t l_3194 = 0UL;
    uint32_t l_3233 = 0x584785B8L;
    uint16_t l_3248[8][9] = {{0xAE8AL,0xE80BL,0xA02EL,0x7560L,65535UL,0x9C40L,0x46D1L,0xE80BL,0x46D1L},{0x5081L,0xD468L,3UL,3UL,0xD468L,0x5081L,65533UL,0xD468L,65533UL},{0xAE8AL,0xE80BL,0xA02EL,0x7560L,65535UL,0x9C40L,0x46D1L,0xE80BL,0x46D1L},{0x5081L,0xD468L,3UL,3UL,0xD468L,0x5081L,65533UL,0xD468L,65533UL},{0xAE8AL,0xE80BL,0xA02EL,0x7560L,65535UL,0x9C40L,0x46D1L,0xE80BL,0x46D1L},{0x5081L,0xD468L,3UL,3UL,0xD468L,0x5081L,65533UL,0xD468L,65533UL},{0xAE8AL,0xE80BL,0xA02EL,0x7560L,65535UL,65535UL,0xC613L,0x7560L,0xC613L},{7UL,3UL,0x6C3CL,0x6C3CL,3UL,7UL,0x8AEFL,3UL,0x8AEFL}};
    int64_t l_3255 = 0x07197B2AD1AFA86ALL;
    int64_t l_3256 = 0x8CA723DA3A9355D0LL;
    int32_t *l_3257 = (void*)0;
    uint16_t l_3326 = 65530UL;
    uint32_t l_3369 = 0xE8A24A50L;
    uint8_t l_3373 = 0xBDL;
    uint64_t l_3396[5];
    uint16_t l_3579[7] = {0xE3FAL,8UL,0xE3FAL,0xE3FAL,8UL,0xE3FAL,0xE3FAL};
    uint8_t ** const l_3616 = (void*)0;
    uint8_t ** const *l_3615[8] = {&l_3616,&l_3616,&l_3616,&l_3616,&l_3616,&l_3616,&l_3616,&l_3616};
    uint32_t l_3651 = 0xD1884FB3L;
    int8_t ** const **l_3655 = (void*)0;
    int8_t ** const ***l_3654 = &l_3655;
    int16_t ***l_3683 = &g_3520;
    int16_t ****l_3682 = &l_3683;
    int64_t l_3886 = 0L;
    int32_t *l_3890[9] = {&g_1695[1][1],&l_3170,&g_1695[1][1],&g_1695[1][1],&l_3170,&g_1695[1][1],&g_1695[1][1],&l_3170,&g_1695[1][1]};
    int i, j, k;
    for (i = 0; i < 3; i++)
        l_3174[i] = 4L;
    for (i = 0; i < 5; i++)
        l_3396[i] = 1UL;
    for (p_10 = (-24); (p_10 != 21); p_10 = safe_add_func_uint32_t_u_u(p_10, 9))
    { /* block id: 13 */
        int32_t *l_32 = &g_33;
        int32_t *l_3106 = &g_2977[4][4];
    }
    return p_10;
}


/* ------------------------------------------ */
/* 
 * reads : g_424 g_423 g_131 g_1543 g_1544 g_2436 g_2437 g_156 g_157 g_2 g_1695 g_1239 g_807 g_1963 g_324 g_2505 g_2438 g_2439 g_305 g_961 g_294 g_553 g_175 g_325 g_571 g_1025 g_878 g_879 g_33 g_877 g_951 g_454 g_247 g_869 g_868 g_2226 g_1425 g_1426 g_1427 g_422 g_1928 g_1813 g_1814 g_1545 g_1546 g_1848 g_5 g_925 g_1879 g_552 g_1967 g_1558 g_160 g_1070 g_353 g_2670 g_2785 g_2650 g_2651 g_14 g_2839 g_304 g_1861 g_227 g_2086 g_1518 g_2669 g_1842 g_3086 g_2663 g_145 g_122
 * writes: g_122 g_807 g_325 g_14 g_304 g_33 g_878 g_1848 g_175 g_1928 g_131 g_294 g_353 g_1518 g_247 g_5 g_1070 g_145 g_1861 g_2786 g_305 g_1881 g_877 g_228 g_3007 g_1842 g_2086 g_3086 g_2663 g_160 g_2226
 */
static uint16_t  func_19(uint16_t  p_20, uint8_t  p_21, int8_t  p_22, uint64_t  p_23)
{ /* block id: 1203 */
    uint16_t ***l_2474 = &g_422;
    uint16_t ****l_2475 = &l_2474;
    uint16_t ***l_2476 = (void*)0;
    uint8_t l_2483 = 0x2CL;
    uint32_t ** const l_2489 = (void*)0;
    uint32_t ** const *l_2488 = &l_2489;
    int32_t l_2540[5][1];
    int8_t l_2544 = 0L;
    int32_t **l_2549 = &g_879;
    uint32_t l_2572 = 2UL;
    int32_t *l_2617[4] = {&g_5[2][3][5],&g_5[2][3][5],&g_5[2][3][5],&g_5[2][3][5]};
    uint32_t l_2626 = 0xA5C36C75L;
    int32_t l_2700 = (-1L);
    int8_t l_2744 = 0x2DL;
    uint8_t l_2763 = 1UL;
    int64_t *l_2768 = &g_294;
    uint32_t l_2797[3][8] = {{1UL,0UL,0x16CD6730L,0x16CD6730L,0UL,1UL,0UL,0x16CD6730L},{0xA1951D7EL,0UL,0xA1951D7EL,1UL,1UL,0xA1951D7EL,0UL,0xA1951D7EL},{6UL,1UL,0x16CD6730L,1UL,6UL,6UL,1UL,0x16CD6730L}};
    int8_t ****l_2808 = (void*)0;
    uint32_t l_2809 = 18446744073709551610UL;
    uint32_t *l_2810 = &g_305;
    uint32_t l_2811 = 5UL;
    uint16_t l_2826 = 65535UL;
    int8_t l_2968 = 0L;
    uint16_t *****l_3058 = &g_2663;
    uint32_t l_3102 = 0xF10B72ACL;
    int64_t l_3105 = (-7L);
    int i, j;
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 1; j++)
            l_2540[i][j] = 0L;
    }
lbl_2777:
    if ((safe_div_func_uint8_t_u_u((safe_sub_func_int32_t_s_s((safe_add_func_uint16_t_u_u((**g_424), (((((*l_2475) = l_2474) != l_2476) , (*g_1543)) == (void*)0))), (safe_mul_func_uint16_t_u_u(((safe_sub_func_uint32_t_u_u(((p_20 = (safe_mod_func_uint64_t_u_u(p_20, l_2483))) | (((safe_mod_func_uint16_t_u_u((((safe_div_func_int16_t_s_s(((((((p_23 , (*g_2436)) != l_2488) , 0x6F250535L) , 0xC541L) < 0xFF53L) == p_21), 0xEC05L)) > l_2483) ^ 9L), 65526UL)) , p_21) ^ (*g_423))), 7L)) , l_2483), (*g_156))))), g_2)))
    { /* block id: 1206 */
        uint16_t l_2497 = 1UL;
        int32_t l_2498 = 0x323C9019L;
        int32_t *l_2499 = &g_1695[1][0];
        uint64_t *l_2502 = (void*)0;
        uint64_t *l_2503 = (void*)0;
        uint64_t *l_2504[1][2];
        int32_t *l_2562 = &g_5[2][3][5];
        int32_t l_2601 = 0L;
        int32_t l_2618 = 0x30E75740L;
        int32_t l_2619 = 0L;
        int32_t l_2620 = 0x37181D82L;
        int32_t l_2622 = (-8L);
        int32_t l_2624 = 0L;
        uint16_t *****l_2661[5][8][6] = {{{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,&l_2475},{(void*)0,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{&l_2475,(void*)0,(void*)0,&l_2475,&l_2475,&l_2475}},{{(void*)0,&l_2475,&l_2475,(void*)0,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,(void*)0,(void*)0,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,(void*)0,(void*)0,&l_2475,&l_2475},{&l_2475,(void*)0,&l_2475,(void*)0,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,&l_2475}},{{(void*)0,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,(void*)0,&l_2475,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,(void*)0},{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,(void*)0},{&l_2475,&l_2475,&l_2475,(void*)0,&l_2475,&l_2475}},{{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,(void*)0},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,(void*)0},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,(void*)0},{&l_2475,(void*)0,&l_2475,&l_2475,&l_2475,&l_2475}},{{&l_2475,&l_2475,&l_2475,&l_2475,&l_2475,(void*)0},{(void*)0,&l_2475,&l_2475,&l_2475,(void*)0,&l_2475},{&l_2475,(void*)0,&l_2475,&l_2475,&l_2475,&l_2475},{&l_2475,(void*)0,&l_2475,&l_2475,&l_2475,(void*)0},{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,&l_2475},{&l_2475,&l_2475,&l_2475,&l_2475,(void*)0,(void*)0},{&l_2475,&l_2475,&l_2475,(void*)0,&l_2475,&l_2475},{(void*)0,&l_2475,&l_2475,&l_2475,&l_2475,&l_2475}}};
        int8_t l_2683 = (-1L);
        int16_t l_2685 = 0x5386L;
        uint8_t *l_2690 = (void*)0;
        int64_t ***l_2703[5][2];
        uint16_t l_2708 = 65535UL;
        int i, j, k;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 2; j++)
                l_2504[i][j] = &g_122;
        }
        for (i = 0; i < 5; i++)
        {
            for (j = 0; j < 2; j++)
                l_2703[i][j] = &g_1027;
        }
        for (g_122 = 20; (g_122 > 23); g_122 = safe_add_func_int8_t_s_s(g_122, 3))
        { /* block id: 1209 */
            uint8_t *l_2492[2][3][2] = {{{&g_145,&g_145},{&g_145,(void*)0},{&g_145,(void*)0}},{{(void*)0,(void*)0},{&g_145,(void*)0},{&g_145,&g_145}}};
            int32_t *l_2495 = (void*)0;
            int32_t *l_2496[9] = {&g_2086[4],&g_2086[4],&g_2086[3],&g_2086[4],&g_2086[4],&g_2086[3],&g_2086[4],&g_2086[4],&g_2086[3]};
            int i, j, k;
            l_2498 ^= (l_2497 ^= (((l_2483 | p_20) | g_1695[1][1]) , (p_22 < (--p_21))));
        }
        l_2499 = ((*g_1963) = (*g_1239));
        if ((0x6639L & (((safe_rshift_func_uint64_t_u_u((p_23 = (g_14[1] = ((*g_324) = 18446744073709551611UL))), g_2505)) , p_20) , p_23)))
        { /* block id: 1219 */
            int32_t *l_2508 = &g_160;
            int32_t l_2535 = 0L;
            uint16_t l_2536[2];
            uint32_t l_2554 = 0xB204D8F1L;
            int16_t *l_2560 = &g_1848;
            const int16_t ***l_2600 = &g_868;
            uint8_t l_2616 = 0x3FL;
            int i;
            for (i = 0; i < 2; i++)
                l_2536[i] = 0x2DA6L;
            for (p_20 = 0; (p_20 != 30); p_20++)
            { /* block id: 1222 */
                int64_t *l_2517 = (void*)0;
                int64_t *l_2518 = (void*)0;
                int64_t *l_2519 = &g_304;
                uint16_t l_2534 = 0UL;
                int32_t l_2537 = 0xFE161852L;
                uint32_t *l_2538[6] = {&g_1881,&g_1881,&g_1881,&g_1881,&g_1881,&g_1881};
                int32_t l_2539 = 0xE4E2A6A9L;
                int32_t *l_2541 = (void*)0;
                int32_t *l_2543[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_2543[i] = &g_160;
                l_2508 = (void*)0;
                l_2535 = (~(~((**g_2438) < ((l_2540[1][0] = (((safe_mod_func_int8_t_s_s(((*g_156) && 0x9D5DL), (safe_add_func_int32_t_s_s(((l_2539 = ((safe_div_func_int64_t_s_s(((*l_2519) = (*g_961)), (safe_rshift_func_int32_t_s_u((((l_2537 = ((***g_1025) &= ((((~((safe_mod_func_uint32_t_u_u((((safe_sub_func_int64_t_s_s(((safe_rshift_func_uint32_t_u_u(p_21, 13)) , (0UL >= (((((safe_lshift_func_int64_t_s_u((safe_add_func_uint32_t_u_u((((p_23 != (safe_unary_minus_func_int16_t_s((&g_877 != ((*g_553) , (void*)0))))) <= p_23) , 0x744A4612L), l_2534)), (*g_324))) & p_20) < l_2535) != p_22) >= g_571[2]))), l_2536[0])) , &l_2499) == &l_2508), p_22)) & 5L)) , l_2534) > p_20) , (-1L)))) , (**g_877)) == (void*)0), 21)))) , l_2537)) & 0x94805ACFL), l_2536[0])))) , p_23) , 0L)) , l_2536[1]))));
                l_2498 ^= (l_2544 >= 0xF5B1E060BF896ED7LL);
            }
            if ((safe_add_func_int8_t_s_s((safe_mod_func_uint32_t_u_u((l_2549 == ((*g_877) = l_2549)), (safe_rshift_func_uint16_t_u_u(((safe_div_func_int32_t_s_s(((((g_951[5][5] , ((*g_961) <= ((*g_454) < l_2554))) || p_22) == ((****g_1425) = (((*g_869) != (safe_mul_func_int16_t_s_s(((*l_2560) = (((*g_2226) &= (safe_unary_minus_func_uint64_t_u((safe_sub_func_int16_t_s_s((&l_2488 != (void*)0), (**g_868)))))) <= p_22)), (*g_869)))) >= l_2540[1][0]))) , p_21), 0xA17C66CCL)) ^ 8UL), (**g_422))))), 7UL)))
            { /* block id: 1236 */
                int32_t **l_2561[3];
                int16_t ***l_2563 = (void*)0;
                int16_t **l_2565 = &l_2560;
                int16_t ***l_2564 = &l_2565;
                int i;
                for (i = 0; i < 3; i++)
                    l_2561[i] = &g_228[4][1][3];
                l_2562 = ((*g_1963) = &l_2540[1][0]);
                (*l_2564) = (void*)0;
                for (p_21 = (-10); (p_21 < 2); p_21++)
                { /* block id: 1242 */
                    int32_t l_2585[2];
                    int32_t l_2586 = 0x2C4BFCA9L;
                    int32_t l_2593 = 0xB41E8C21L;
                    int i;
                    for (i = 0; i < 2; i++)
                        l_2585[i] = (-1L);
                    for (g_304 = 0; (g_304 != (-27)); g_304 = safe_sub_func_uint8_t_u_u(g_304, 1))
                    { /* block id: 1245 */
                        uint8_t *l_2582[4] = {&g_1070,&g_1070,&g_1070,&g_1070};
                        int32_t l_2583 = 0x0AC8AB5FL;
                        int64_t *l_2584 = &g_294;
                        int i;
                        l_2586 = ((*g_869) , ((safe_sub_func_int8_t_s_s((l_2572 || (safe_sub_func_int64_t_s_s(((((((l_2585[1] ^= ((*l_2584) = ((+(((((***l_2474) = ((0x0F04CC2ADA193FA8LL >= (safe_lshift_func_uint64_t_u_u(((safe_mod_func_uint16_t_u_u(0x1DE7L, ((g_1928 ^= ((safe_div_func_int32_t_s_s((-4L), 4294967291UL)) || (0xE8AD9769677FBA8FLL <= (6UL != p_21)))) , (**g_868)))) > l_2583), (*g_324)))) | p_20)) < p_22) , (*g_324)) , 1L)) , p_23))) == 0x5D36CBC2DCA60020LL) & p_23) < l_2483) > p_23) <= 0x25ACAF8924D8F255LL), (*g_2226)))), l_2583)) && (**g_1813)));
                        return (*g_156);
                    }
                    l_2601 = (safe_div_func_int8_t_s_s(((safe_sub_func_int16_t_s_s((*g_454), (safe_mul_func_uint8_t_u_u(0x70L, (l_2593 <= ((((safe_lshift_func_int32_t_s_s(p_21, ((safe_add_func_int32_t_s_s(p_23, (**g_1813))) < (**g_868)))) > (((((safe_div_func_int16_t_s_s((((l_2600 = l_2600) == &g_868) & l_2585[1]), (*l_2562))) < 0L) && p_23) == p_20) == 7UL)) & l_2585[1]) || 0UL)))))) < (**g_422)), 0xEFL));
                }
                (*l_2562) = (((p_22 <= (((void*)0 != (*g_1545)) & (((safe_rshift_func_uint16_t_u_s((0xC045A6EAL || 1L), 7)) , (safe_mul_func_uint32_t_u_u(p_20, (safe_mul_func_int32_t_s_s((safe_rshift_func_uint64_t_u_s((0x830785065BEF18E9LL > ((safe_sub_func_uint16_t_u_u((p_20 || (safe_mul_func_int16_t_s_s((((*l_2560) |= (((*l_2562) > (*g_2439)) , l_2544)) && (-7L)), p_22))), (-4L))) || 0xFF24L)), 38)), (*l_2562)))))) == 0xE318A9A5L))) >= l_2616) ^ 0UL);
            }
            else
            { /* block id: 1258 */
                int32_t l_2621 = (-2L);
                int32_t l_2625[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_2625[i] = (-7L);
                l_2617[2] = l_2617[0];
                l_2626++;
            }
        }
        else
        { /* block id: 1262 */
            uint32_t l_2629[2];
            int32_t * const *l_2656[4];
            const int32_t *l_2668 = &l_2622;
            uint32_t *l_2681 = &g_1518;
            uint16_t ****l_2682 = &l_2476;
            int64_t *l_2684[1];
            int i;
            for (i = 0; i < 2; i++)
                l_2629[i] = 18446744073709551615UL;
            for (i = 0; i < 4; i++)
                l_2656[i] = &g_879;
            for (i = 0; i < 1; i++)
                l_2684[i] = (void*)0;
            for (g_294 = 1; (g_294 <= 5); g_294 += 1)
            { /* block id: 1265 */
                uint8_t l_2642[9][7][4] = {{{0UL,0UL,0x21L,3UL},{0x49L,255UL,1UL,0xEEL},{0x62L,0UL,0UL,1UL},{0xF2L,0UL,0xB4L,0xEEL},{0UL,255UL,0UL,3UL},{0xA7L,0UL,0x5AL,1UL},{0xA9L,1UL,255UL,0xEBL}},{{0UL,0xCBL,1UL,0x1DL},{0x49L,0x7AL,0UL,255UL},{0xC8L,5UL,0x3DL,1UL},{255UL,255UL,0UL,0x7AL},{5UL,5UL,0x3FL,255UL},{0xFCL,0x3FL,0xFCL,1UL},{0UL,0xEBL,5UL,1UL}},{{5UL,252UL,0x62L,0xEBL},{0UL,0xA7L,0x62L,255UL},{5UL,0xFCL,5UL,7UL},{0UL,0UL,0xFCL,0xB4L},{0xFCL,0xB4L,0x3FL,0UL},{1UL,5UL,3UL,0x1FL},{0x5AL,0xEBL,0x1FL,1UL}},{{0x75L,249UL,0UL,255UL},{0UL,255UL,0UL,5UL},{0x3FL,251UL,0UL,7UL},{0xA7L,0x1DL,0x1DL,0xA7L},{251UL,255UL,0x3FL,1UL},{3UL,0x75L,0UL,0UL},{5UL,0xEBL,1UL,0UL}},{{249UL,0x75L,7UL,1UL},{0UL,255UL,0xC8L,0xA7L},{2UL,0x1DL,0x21L,7UL},{255UL,251UL,0x49L,5UL},{0x1DL,255UL,0x3FL,255UL},{0x49L,249UL,251UL,1UL},{0xB4L,0xEBL,1UL,0x1FL}},{{252UL,5UL,0x5FL,0UL},{0UL,0xB4L,0xCBL,0xB4L},{0xC3L,0UL,1UL,7UL},{255UL,0xFCL,1UL,255UL},{0UL,0xA7L,0x3FL,0xEBL},{0UL,252UL,1UL,1UL},{255UL,0xEBL,1UL,1UL}},{{0xC3L,0x3FL,0xCBL,255UL},{0UL,5UL,0x5FL,0UL},{252UL,0x49L,1UL,7UL},{0xB4L,1UL,251UL,0x5AL},{0x49L,0UL,0x3FL,0x3DL},{0x1DL,0xC3L,0x49L,5UL},{255UL,0xEBL,0x21L,0x21L}},{{2UL,2UL,0xC8L,0UL},{0UL,0x5AL,7UL,255UL},{249UL,3UL,1UL,7UL},{5UL,3UL,0UL,255UL},{3UL,0x5AL,0x3FL,0UL},{251UL,2UL,0x1DL,0x21L},{0xA7L,0xEBL,0UL,5UL}},{{0x3FL,0xC3L,0UL,0x3DL},{0UL,0UL,0UL,0x5AL},{0x75L,1UL,0x1FL,7UL},{0x1DL,0UL,0UL,3UL},{0xEBL,1UL,0x7AL,1UL},{1UL,0x7AL,1UL,0UL},{3UL,5UL,0xCBL,0x5FL}}};
                int32_t l_2660 = 0x012D40EAL;
                int i, j, k;
                l_2629[0]--;
                for (p_23 = 0; (p_23 <= 2); p_23 += 1)
                { /* block id: 1269 */
                    int64_t l_2632 = (-2L);
                    const uint64_t ***l_2652 = (void*)0;
                    const uint64_t ***l_2653 = &g_2650;
                    uint32_t *l_2657 = &l_2572;
                    int32_t l_2664 = 3L;
                    if (l_2632)
                        break;
                }
            }
            for (g_353 = 0; (g_353 <= 26); g_353 = safe_add_func_uint8_t_u_u(g_353, 3))
            { /* block id: 1294 */
                return (*g_156);
            }
            l_2498 &= ((((safe_sub_func_int64_t_s_s((((safe_add_func_int64_t_s_s((g_294 = (l_2685 = (((p_22 < ((***g_2437) != (*l_2562))) & (safe_mod_func_uint64_t_u_u((0UL ^ ((safe_div_func_uint8_t_u_u(g_925, g_1879[1][0])) | (((*l_2681) = 0x5253D42AL) , ((l_2682 != (void*)0) & (*g_961))))), (*l_2668)))) , l_2683))), p_22)) >= 1L) <= 0xB9342A3FL), p_20)) > (*g_324)) , l_2681) == l_2499);
        }
        (*l_2562) = (((*l_2562) || ((safe_sub_func_uint8_t_u_u((safe_add_func_uint32_t_u_u(((g_1928 = g_131[2]) && ((**g_552) = (safe_unary_minus_func_int32_t_s((*l_2562))))), (((((((((safe_lshift_func_uint64_t_u_u((safe_mod_func_int16_t_s_s(((safe_rshift_func_int8_t_s_u((1UL ^ (((safe_mod_func_uint8_t_u_u(((l_2700 | ((p_20 = (((*g_324)--) || ((l_2703[3][0] == &g_1027) <= 0x0CC88084L))) ^ ((l_2619 = (safe_add_func_uint16_t_u_u((((*g_454) = (((safe_div_func_int8_t_s_s(0x39L, 0x23L)) == l_2708) , 0xED84L)) == 65528UL), 0x0C90L))) , p_22))) , g_1848), g_1967[0][0][7])) || 18446744073709551609UL) > 0L)), g_1558[0][3][2])) , p_22), p_23)), 4)) , (-7L)) == p_21) || 65535UL) & (*l_2562)) ^ p_22) & (*l_2562)) , (*l_2562)) > g_160))), (*l_2562))) | 9UL)) >= (*l_2562));
    }
    else
    { /* block id: 1309 */
        uint32_t l_2740 = 4294967290UL;
        int32_t l_2742 = 1L;
        int8_t l_2745 = 7L;
        int64_t *l_2750 = &g_304;
        uint8_t *l_2755[8][5][6] = {{{&g_1928,&g_1070,&g_1070,&l_2483,&g_1928,(void*)0},{&g_1928,&g_145,&l_2483,&l_2483,&g_1070,(void*)0},{&g_1070,&l_2483,&g_1928,&g_1928,&l_2483,&g_1070},{&g_1928,(void*)0,&l_2483,&g_1070,(void*)0,&l_2483},{&g_1928,&l_2483,&g_1928,&l_2483,&l_2483,(void*)0}},{{&g_1928,&g_1928,&l_2483,&g_1070,&g_1928,&g_1928},{&g_1928,(void*)0,(void*)0,&g_1928,&g_1928,&l_2483},{&g_1070,(void*)0,&g_1928,&l_2483,&g_1928,&g_1928},{&g_1928,&g_1070,(void*)0,&l_2483,(void*)0,&g_1070},{&g_1928,&g_1928,&g_1928,&g_1928,&g_145,&l_2483}},{{&l_2483,&l_2483,(void*)0,&g_1928,&g_1070,&g_1070},{&g_1928,&l_2483,&l_2483,&g_1070,&g_145,&g_1928},{&g_145,&g_1928,&g_1928,&g_1070,(void*)0,&l_2483},{(void*)0,&g_1070,&g_1928,&l_2483,&g_1928,&g_1070},{&l_2483,(void*)0,(void*)0,&g_1928,&g_1928,(void*)0}},{{(void*)0,(void*)0,&g_145,&g_1070,&g_1928,&g_1928},{&l_2483,&g_1928,&l_2483,&g_1070,&l_2483,&g_145},{(void*)0,&l_2483,&l_2483,(void*)0,(void*)0,&g_1928},{(void*)0,(void*)0,&g_145,&g_145,&l_2483,(void*)0},{&g_145,&l_2483,(void*)0,&g_1070,&g_1070,&g_1070}},{{&g_1928,&g_145,&g_1928,&l_2483,&g_1928,&l_2483},{&g_1928,&g_1070,&g_1928,&l_2483,(void*)0,&g_1928},{&g_1070,&g_1928,&l_2483,&g_1928,&g_1928,&g_1070},{&g_1928,&g_1070,(void*)0,&g_1928,(void*)0,&l_2483},{&g_1070,&g_1928,&g_1928,&l_2483,(void*)0,&g_1070}},{{&g_1928,&g_1070,(void*)0,&l_2483,&l_2483,&g_1928},{&g_1928,(void*)0,&g_1928,&g_1070,&l_2483,&l_2483},{&g_145,(void*)0,(void*)0,&g_145,&g_1070,&g_1928},{(void*)0,&g_1070,&l_2483,(void*)0,&g_1070,(void*)0},{(void*)0,&g_145,(void*)0,&g_1070,&g_1070,&l_2483}},{{(void*)0,&g_1928,(void*)0,&g_1070,&g_1070,&g_1928},{&g_1070,(void*)0,&g_145,&g_1070,(void*)0,&g_1928},{&l_2483,&g_1070,&g_1928,(void*)0,(void*)0,(void*)0},{&g_1928,&l_2483,&g_1928,&l_2483,&g_1928,&g_145},{&g_1070,&g_1928,&g_1070,&g_1928,&g_1070,&l_2483}},{{&g_1928,&g_1070,&g_1928,&g_1928,&l_2483,&l_2483},{&g_1928,&l_2483,&g_1070,&g_1928,&g_1070,&g_145},{&l_2483,&g_1070,&g_1928,&g_1928,&g_1928,(void*)0},{&g_145,&g_1928,&g_1928,&l_2483,&g_1928,&g_1928},{&g_1928,&l_2483,&g_145,&g_145,&l_2483,&g_1928}}};
        int32_t l_2761 = 0x11F94AE6L;
        int32_t l_2762[10][3][4] = {{{0x25E7F820L,1L,0x83451262L,8L},{0x2B25C5ECL,0xF990EEE9L,0L,0xB4CD04C7L},{0x2B25C5ECL,0x314886F2L,0x83451262L,0x25E7F820L}},{{0x25E7F820L,0xB4CD04C7L,1L,8L},{0x60E864AAL,0x573C973EL,(-4L),0xBEDDD3C2L},{0xF990EEE9L,(-4L),0x5ED48029L,0x5ED48029L}},{{8L,8L,0L,1L},{8L,1L,0x3DF24FB6L,0x5E790A7AL},{0L,0xC257F06EL,(-1L),0x3DF24FB6L}},{{0x314886F2L,0xC257F06EL,0x2092851CL,0x5E790A7AL},{0xC257F06EL,1L,0xBEDDD3C2L,1L},{(-4L),8L,8L,0x5ED48029L}},{{0x2092851CL,(-4L),0L,0xBEDDD3C2L},{1L,0x573C973EL,1L,8L},{0xBEDDD3C2L,0xB4CD04C7L,0xF990EEE9L,0x25E7F820L}},{{(-1L),0x314886F2L,1L,0xB4CD04C7L},{0xFE4509C4L,0xF990EEE9L,1L,8L},{(-1L),1L,0xF990EEE9L,0x83451262L}},{{0xBEDDD3C2L,0L,1L,(-1L)},{1L,(-1L),0L,0x2B25C5ECL},{0x2092851CL,8L,8L,0x2092851CL}},{{(-4L),0x5E790A7AL,0xBEDDD3C2L,0x5B3D9460L},{0xC257F06EL,0L,0x2092851CL,0L},{0x314886F2L,1L,(-1L),0L}},{{0L,0L,0x3DF24FB6L,0x5B3D9460L},{8L,0x5E790A7AL,0L,0x2092851CL},{8L,8L,0x5ED48029L,0x2B25C5ECL}},{{0xF990EEE9L,(-1L),(-4L),(-1L)},{0x60E864AAL,0L,1L,0x83451262L},{0x25E7F820L,1L,0x83451262L,8L}}};
        int i, j, k;
        for (g_325 = 27; (g_325 <= 55); g_325 = safe_add_func_int64_t_s_s(g_325, 1))
        { /* block id: 1312 */
            uint32_t l_2725 = 0x46DE8D5FL;
            uint8_t *l_2732 = &g_1070;
            uint32_t l_2735 = 3UL;
            uint16_t *****l_2741 = &g_2663;
            uint32_t l_2743 = 1UL;
            l_2745 = (safe_mul_func_int64_t_s_s((safe_rshift_func_int16_t_s_u((((safe_sub_func_int8_t_s_s(((safe_sub_func_uint8_t_u_u((safe_rshift_func_int16_t_s_s((safe_add_func_int16_t_s_s(((*g_454) = (l_2742 = ((safe_sub_func_int16_t_s_s((l_2725 ^ (p_20 , (*g_961))), (safe_mul_func_uint8_t_u_u(((((safe_mul_func_uint32_t_u_u(p_20, ((((*l_2732) |= (safe_sub_func_uint16_t_u_u((p_20 > (*g_961)), 1L))) , ((safe_add_func_int64_t_s_s((((((++l_2735) > (safe_rshift_func_uint16_t_u_u(p_22, 9))) & ((g_353 , l_2725) < (*g_961))) && (*g_454)) > g_1558[8][8][1]), l_2740)) ^ (*g_2670))) || 1UL))) < 65531UL) , &g_2663) != l_2741), 0x9BL)))) ^ p_20))), p_20)), l_2743)), 1UL)) , (****g_1425)), l_2744)) <= (***g_1426)) , l_2742), (*g_423))), 0xFF676EC7671CB164LL));
        }
        (*g_1963) = &l_2700;
        if ((safe_sub_func_int32_t_s_s(l_2742, (safe_sub_func_int8_t_s_s((l_2750 != l_2750), (safe_rshift_func_uint8_t_u_u(((safe_mod_func_int8_t_s_s(((**g_1427) = ((void*)0 != (*g_868))), (g_145 = (p_21 = l_2740)))) , ((**g_2438) || (**g_2438))), 0)))))))
        { /* block id: 1323 */
            int16_t l_2756[6][2][4] = {{{0x24B5L,(-1L),(-1L),0x24B5L},{(-1L),(-1L),0x495CL,0x495CL}},{{(-1L),(-1L),0x24B5L,(-1L)},{(-1L),0x495CL,0x495CL,(-1L)}},{{0x495CL,(-1L),0x495CL,0x495CL},{(-1L),(-1L),0x24B5L,(-1L)}},{{(-1L),0x495CL,0x495CL,(-1L)},{0x495CL,(-1L),0x495CL,0x495CL}},{{(-1L),(-1L),0x24B5L,(-1L)},{(-1L),0x495CL,0x495CL,(-1L)}},{{0x495CL,(-1L),0x495CL,0x495CL},{(-1L),(-1L),0x24B5L,(-1L)}}};
            int32_t l_2757[10][7] = {{0L,3L,0xC34BEFF9L,0x4920AF1DL,3L,1L,0x2D5659A5L},{0x105997DAL,0L,1L,0x105997DAL,0x2D5659A5L,0x105997DAL,1L},{0x30AFA6C8L,0x30AFA6C8L,6L,0x4920AF1DL,0L,1L,0x30AFA6C8L},{0x30AFA6C8L,1L,0xC34BEFF9L,0L,4L,4L,0L},{0x105997DAL,0x2D5659A5L,0x105997DAL,1L,0L,0x105997DAL,3L},{0L,0x2D5659A5L,0x01C4A62FL,0x4920AF1DL,0x2D5659A5L,6L,0x2D5659A5L},{8L,1L,1L,8L,3L,0x105997DAL,0L},{4L,0x30AFA6C8L,1L,0xC34BEFF9L,0L,4L,4L},{0x30AFA6C8L,0L,0x01C4A62FL,0L,0x30AFA6C8L,1L,0L},{8L,3L,0x105997DAL,0L,1L,0x105997DAL,0x2D5659A5L}};
            uint32_t l_2758 = 0xF0A55C25L;
            int i, j, k;
            l_2756[2][1][0] &= p_22;
            ++l_2758;
            l_2763++;
        }
        else
        { /* block id: 1327 */
            uint32_t *l_2771 = &l_2572;
            int64_t l_2772 = 0xBFA3756CC6E33EB2LL;
            l_2762[7][2][1] |= (safe_add_func_int32_t_s_s(p_20, ((l_2768 == l_2768) >= (l_2761 &= ((safe_lshift_func_int16_t_s_u((((*l_2768) ^= (((((*l_2771) = 0x872A5198L) , l_2772) >= 1L) && p_22)) > p_23), 11)) ^ (*g_2439))))));
        }
    }
    for (g_1861 = 0; (g_1861 != 24); ++g_1861)
    { /* block id: 1336 */
        uint64_t l_2778 = 0x27BACAAA3BC4FCEBLL;
        for (p_23 = (-29); (p_23 > 27); p_23 = safe_add_func_uint16_t_u_u(p_23, 4))
        { /* block id: 1339 */
            int16_t * const *l_2783[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
            int16_t * const **l_2782 = &l_2783[1];
            int16_t * const ***l_2781 = &l_2782;
            int16_t * const ****l_2784 = &l_2781;
            int i;
            if (l_2744)
                goto lbl_2777;
            --l_2778;
            (*g_2785) = ((*l_2784) = l_2781);
            for (g_294 = 5; (g_294 >= 1); g_294 -= 1)
            { /* block id: 1346 */
                return p_23;
            }
        }
    }
    if ((safe_mul_func_uint16_t_u_u(((*g_423) = (safe_div_func_uint16_t_u_u((safe_rshift_func_uint32_t_u_s((((safe_mod_func_int64_t_s_s(p_21, ((l_2797[0][5] || 0x8EL) & 0x5DL))) >= 0x4424D83999C5EDB8LL) , (((safe_rshift_func_int8_t_s_s(((((safe_add_func_uint32_t_u_u(((*l_2810) = (safe_div_func_uint32_t_u_u((p_21 , (safe_lshift_func_uint16_t_u_u((safe_lshift_func_int32_t_s_s((l_2808 != &g_1543), p_22)), 12))), l_2809))), l_2811)) > p_21) | (*g_423)) ^ (**g_2650)), (****g_1425))) < 0xC16843CFB3AD6472LL) || p_21)), 21)), 0xAE1DL))), 9UL)))
    { /* block id: 1353 */
        int16_t **l_2814 = &g_454;
        int16_t ***l_2813 = &l_2814;
        int16_t ****l_2812 = &l_2813;
        int32_t l_2815 = 1L;
        int32_t l_2816 = 0x112032ACL;
        int32_t l_2817 = (-6L);
        int32_t l_2818 = 0L;
        int32_t l_2819 = 1L;
        int64_t l_2820 = 0x0FA53D1453F94C8FLL;
        int32_t l_2821 = 0x550606AEL;
        int32_t l_2822 = 0x12110B90L;
        int32_t l_2823 = 0xA74B3791L;
        int32_t l_2824 = 0xC8C2DC67L;
        int32_t l_2825[2];
        int8_t ***l_2836 = &g_1427;
        int8_t ****l_2835 = &l_2836;
        uint64_t ***l_2837 = (void*)0;
        int16_t l_2848[9][7] = {{0x8410L,1L,(-9L),0xFDFCL,1L,0x8410L,0xCD8DL},{0L,0x8410L,0xCEF3L,0x07E9L,0xCD8DL,(-6L),0x7374L},{0xF5A1L,(-6L),4L,0xFDFCL,0xC0D2L,0x52A8L,0x52A8L},{(-6L),0x7374L,0L,0x7374L,(-6L),0x52A8L,0xCEF3L},{0x10BDL,1L,0x07E9L,0xC0D2L,4L,(-6L),1L},{0x8410L,0xCD8DL,0x51BCL,2L,0x706CL,0x8410L,1L},{0x10BDL,0xC0D2L,0x8410L,0x07E9L,1L,0x07E9L,0x8410L},{(-6L),(-6L),0x8410L,(-9L),0xCEF3L,0xB15CL,0x52A8L},{0xF5A1L,4L,0x51BCL,0xCEF3L,(-6L),0xFD38L,0xC0D2L}};
        int8_t l_2858[2][9][9] = {{{0x4AL,0x08L,0x89L,0xECL,0xD0L,0xD0L,0xECL,0x89L,0x08L},{0L,0xCCL,0xD0L,0xF9L,0x08L,1L,(-7L),(-1L),0L},{0x94L,0x6CL,0xADL,0L,(-1L),(-7L),1L,0x08L,0xF9L},{(-1L),0xCCL,0xBAL,0L,0x1EL,0xD0L,0L,0L,0xD0L},{0x1FL,0L,(-1L),0L,0x1FL,0xBAL,1L,0x6CL,(-1L)},{0xF9L,0xEDL,0x1AL,0L,0L,0x94L,(-1L),0xDAL,3L},{3L,0xD0L,0x9CL,0xF9L,1L,0xBAL,0x08L,1L,0x89L},{0xADL,1L,0x6CL,0xD0L,0x2AL,0xD0L,0x6CL,1L,0xADL},{0xECL,0x1EL,1L,(-1L),0x09L,(-7L),0x1FL,0xDAL,0x08L}},{{1L,0x1AL,(-7L),3L,0xECL,1L,0xEDL,0x6CL,0xCCL},{0xECL,0x09L,0x1FL,0x89L,(-7L),0L,0xCCL,0L,(-7L)},{0xADL,0x1FL,0x1FL,0xADL,0x1AL,1L,0xECL,0x08L,0x94L},{3L,0x4CL,(-7L),0x08L,1L,(-1L),1L,(-1L),0x1EL},{0xF9L,1L,1L,0xCCL,0x1AL,0x08L,0xEBL,0x1EL,0x6CL},{0x1FL,0xEBL,0x6CL,(-7L),(-7L),0x6CL,0xEBL,0x1FL,1L},{(-1L),0x08L,0x9CL,0x94L,0xECL,0x1FL,1L,0L,0xDAL},{0x94L,0xF9L,0x1AL,0x1EL,0x09L,0xEDL,0xECL,1L,1L},{0xDAL,0x9CL,(-1L),0x6CL,0x2AL,0xCCL,0xCCL,0x2AL,0x6CL}}};
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_2825[i] = 0x0E68FDFAL;
lbl_2867:
        (*l_2812) = (void*)0;
        --l_2826;
        if ((0xD7L > (((*g_324) > ((safe_div_func_uint16_t_u_u(((safe_rshift_func_uint8_t_u_s(((l_2819 , ((safe_rshift_func_int16_t_s_u(2L, (((*g_1425) != ((*l_2835) = (*g_1425))) == (0x4027575E4D0DC056LL < (l_2837 == (void*)0))))) & (*g_869))) < p_20), p_20)) && 0x52422B1043792A23LL), 9L)) <= 0x6BFFAA20L)) > 4294967295UL)))
        { /* block id: 1357 */
            int8_t l_2838 = (-3L);
            l_2838 ^= p_23;
            return l_2838;
        }
        else
        { /* block id: 1360 */
            int32_t *l_2841 = &g_33;
            int32_t l_2842[10][8][3] = {{{0xE71A9525L,0xD3E487BEL,0xE71A9525L},{0x84540A5FL,0xE7EB738CL,(-9L)},{0xC9EC95A0L,9L,0xD26710AEL},{0x7124EA65L,0x641D82E4L,0xE80827F6L},{(-9L),0x691283DDL,0xB8E06CC9L},{0x7124EA65L,0x9EAC183AL,(-3L)},{0xC9EC95A0L,7L,9L},{0x84540A5FL,(-1L),(-2L)}},{{0xE71A9525L,0x5C613708L,0xE7EB738CL},{7L,0xD26710AEL,0xE7EB738CL},{0xE80827F6L,(-2L),(-2L)},{(-3L),0x7124EA65L,9L},{0xD3E487BEL,0x6A1A9C6EL,(-3L)},{(-1L),0x6A1A9C6EL,1L},{(-1L),0xB8E06CC9L,(-2L)},{(-9L),0x6A1A9C6EL,0x641D82E4L}},{{0x0C884F10L,0x691283DDL,0L},{0xD26710AEL,0xC9EC95A0L,0xA5C17C09L},{(-1L),0x9EAC183AL,0xE7EB738CL},{0x9EAC183AL,0x641D82E4L,0xB8E06CC9L},{0x9EAC183AL,(-9L),0xD26710AEL},{(-1L),(-1L),(-1L)},{0xD26710AEL,0x5C613708L,0xE80827F6L},{0x0C884F10L,6L,0xD3E487BEL}},{{(-9L),0xD3E487BEL,0x7124EA65L},{(-1L),0x0C884F10L,0xD3E487BEL},{(-1L),0x36FC8BADL,0xE80827F6L},{0xE80827F6L,0x84540A5FL,(-1L)},{0xC6DB580DL,0xE80827F6L,0xD26710AEL},{(-2L),0L,0xB8E06CC9L},{0x5C613708L,0L,0xE7EB738CL},{0xA5C17C09L,0xE80827F6L,0xA5C17C09L}},{{9L,0x84540A5FL,0L},{(-6L),0x36FC8BADL,0x641D82E4L},{0xC9EC95A0L,0x0C884F10L,(-2L)},{0L,0xD3E487BEL,1L},{0xC9EC95A0L,6L,0xC6DB580DL},{(-6L),0x5C613708L,0x36FC8BADL},{9L,(-1L),0x9EAC183AL},{0xA5C17C09L,(-9L),0x84540A5FL}},{{0x5C613708L,0x641D82E4L,0x84540A5FL},{(-2L),0x9EAC183AL,0x9EAC183AL},{0xC6DB580DL,0xC9EC95A0L,0x36FC8BADL},{0xE80827F6L,0x691283DDL,0xC6DB580DL},{(-1L),0x6A1A9C6EL,1L},{(-1L),0xB8E06CC9L,(-2L)},{(-9L),0x6A1A9C6EL,0x641D82E4L},{0x0C884F10L,0x691283DDL,0L}},{{0xD26710AEL,0xC9EC95A0L,0xA5C17C09L},{(-1L),0x9EAC183AL,0xE7EB738CL},{0x9EAC183AL,0x641D82E4L,0xB8E06CC9L},{0x9EAC183AL,(-9L),0xD26710AEL},{(-1L),(-1L),(-1L)},{0xD26710AEL,0x5C613708L,0xE80827F6L},{0x0C884F10L,6L,0xD3E487BEL},{(-9L),0xD3E487BEL,0x7124EA65L}},{{(-1L),0x0C884F10L,0xD3E487BEL},{(-1L),0x36FC8BADL,0xE80827F6L},{0xE80827F6L,0x84540A5FL,(-1L)},{0xC6DB580DL,0xE80827F6L,0xD26710AEL},{(-2L),0L,0xB8E06CC9L},{0x5C613708L,0L,0xE7EB738CL},{0xA5C17C09L,0xE80827F6L,0xA5C17C09L},{9L,0x84540A5FL,0L}},{{(-6L),0x36FC8BADL,0x641D82E4L},{0xC9EC95A0L,0x0C884F10L,(-2L)},{0L,0xD3E487BEL,1L},{0xC9EC95A0L,6L,0xC6DB580DL},{(-6L),0x5C613708L,0x36FC8BADL},{9L,(-1L),0x9EAC183AL},{0xA5C17C09L,(-9L),0x84540A5FL},{0x5C613708L,0x641D82E4L,0x84540A5FL}},{{(-2L),0x9EAC183AL,0x9EAC183AL},{0xC6DB580DL,0xC9EC95A0L,0x36FC8BADL},{0xE80827F6L,0x691283DDL,0xC6DB580DL},{(-1L),0x6A1A9C6EL,1L},{(-1L),1L,0x9EAC183AL},{0L,0x691283DDL,0x0C884F10L},{0xB8E06CC9L,0xD3E487BEL,0xE7EB738CL},{0x641D82E4L,(-6L),(-1L)}}};
            uint32_t *l_2847 = &l_2809;
            int16_t * const ***l_2878 = (void*)0;
            int i, j, k;
            l_2822 = ((l_2825[0] && ((**g_1427) || ((l_2842[3][0][1] = (g_2839 != l_2841)) , (safe_add_func_uint16_t_u_u(((safe_lshift_func_uint8_t_u_s(((((((((*l_2847) = p_23) , (((l_2848[1][6] || ((safe_rshift_func_int8_t_s_s(((****g_1425) = 1L), 1)) < (p_23++))) <= (safe_unary_minus_func_uint8_t_u((safe_mod_func_int64_t_s_s((*g_961), (safe_add_func_int8_t_s_s(((((((**g_2650) , l_2858[0][3][7]) ^ 0x6DL) && (**g_2438)) & l_2824) , (-1L)), 0x54L))))))) < 0x6DE0L)) && 255UL) & p_20) || 0x7F10029BL) && l_2842[6][3][2]) >= (-1L)), 1)) && (*g_2439)), (*g_156)))))) >= 0x097D2548L);
            for (l_2818 = 0; (l_2818 >= 0); l_2818 -= 1)
            { /* block id: 1368 */
                int64_t *l_2863 = &l_2820;
                if ((l_2823 = (0xDACDL != (safe_mod_func_int8_t_s_s(((l_2768 == ((safe_mod_func_uint16_t_u_u(((((((((*g_877) == (void*)0) < (((((l_2848[8][1] || 0x8E9E7447CDC69287LL) != (0L > (p_23 != ((*l_2863) = ((*l_2768) = ((0xFBL < 9UL) <= p_21)))))) & p_21) && l_2858[0][3][7]) <= p_20)) > p_22) ^ p_22) >= p_21) , 0xE85C2D0AL) , 0xA896L), p_20)) , &l_2820)) < (-1L)), (**g_552))))))
                { /* block id: 1372 */
                    uint8_t l_2864 = 0xEEL;
                    for (g_1848 = 0; (g_1848 <= 3); g_1848 += 1)
                    { /* block id: 1375 */
                        int i, j;
                        return l_2540[g_1848][l_2818];
                    }
                    for (l_2483 = 0; (l_2483 <= 0); l_2483 += 1)
                    { /* block id: 1380 */
                        int i, j;
                        --l_2864;
                        return g_1879[l_2818][(l_2483 + 2)];
                    }
                }
                else
                { /* block id: 1384 */
                    if (l_2763)
                        goto lbl_2867;
                }
                if (l_2824)
                    break;
                for (l_2544 = 0; (l_2544 <= 0); l_2544 += 1)
                { /* block id: 1390 */
                    int i, j;
                    return g_1879[(l_2818 + 2)][(l_2818 + 1)];
                }
            }
            l_2816 = (l_2821 = (safe_mod_func_uint8_t_u_u((safe_sub_func_uint64_t_u_u((0xA72679D0L > ((safe_sub_func_uint64_t_u_u(((void*)0 == &p_23), (safe_mod_func_uint64_t_u_u((((safe_mod_func_uint32_t_u_u((l_2878 != (void*)0), ((safe_mod_func_uint64_t_u_u((safe_lshift_func_uint64_t_u_s(((l_2821 , (*g_156)) > (((safe_lshift_func_uint16_t_u_u((p_23 ^ ((1UL == l_2825[0]) | 0x9012A40ADA27B80ALL)), p_20)) == 0x5393170FL) | 0xB086L)), 28)), (-1L))) , 0x777DA386L))) == (*g_324)) & l_2842[3][0][1]), 0x82258040D1108931LL)))) && p_23)), (**g_2650))), g_925)));
        }
        (*g_1963) = ((l_2824 = ((void*)0 == &g_2786)) , &l_2540[1][0]);
    }
    else
    { /* block id: 1399 */
        int32_t l_2886 = (-1L);
        int32_t l_2891 = (-2L);
        int32_t l_2892 = 0x352A719AL;
        int8_t l_2933 = 0L;
        int32_t l_2937 = 1L;
        int32_t *l_2963 = &g_2086[1];
        int8_t l_2978 = (-4L);
        int32_t l_2979 = 0x995DFDD0L;
        uint16_t l_2980 = 65529UL;
        uint16_t ****l_2994 = &l_2474;
        int16_t **l_3002 = &g_454;
        uint32_t l_3004 = 0x9B0DDD3BL;
        int8_t ***l_3043[1];
        int32_t *l_3056 = &l_2891;
        uint32_t l_3077 = 18446744073709551609UL;
        int8_t *****l_3083 = (void*)0;
        uint16_t *****l_3089 = &l_2475;
        const int32_t *l_3096 = &l_2937;
        int i;
        for (i = 0; i < 1; i++)
            l_3043[i] = &g_1427;
        if (((((l_2886 ^= (0L >= (p_23 , (!0UL)))) > (safe_add_func_int32_t_s_s((((****g_1425) | (safe_mul_func_uint64_t_u_u(((*g_2226) = ((*l_2474) != (((**g_1813) = (p_22 & l_2891)) , (void*)0))), ((((l_2892 |= (-1L)) == 0x19EC0BFFL) <= 0L) && 0x19CC219738B97C68LL)))) >= 0x09D9BF0D50DD4656LL), p_20))) & l_2891) && (*g_553)))
        { /* block id: 1404 */
            uint64_t l_2893[3];
            int8_t **l_2901 = &g_553;
            uint64_t *l_2906[5][1][5] = {{{&g_353,&g_14[3],&g_14[3],&g_353,&g_14[3]}},{{&l_2893[1],&l_2893[1],(void*)0,&l_2893[1],&l_2893[1]}},{{&g_14[3],&g_353,&g_14[3],&g_14[3],&g_353}},{{&l_2893[1],(void*)0,(void*)0,&l_2893[1],(void*)0}},{{&g_353,&g_353,&l_2893[0],&g_353,&g_353}}};
            uint32_t *l_2909 = &g_1881;
            int32_t l_2910[3][7] = {{0x3D4D7F99L,8L,0xE586C775L,0xE586C775L,8L,0x3D4D7F99L,8L},{1L,(-1L),(-1L),1L,5L,1L,(-1L)},{1L,1L,0x3D4D7F99L,0xE586C775L,0x3D4D7F99L,1L,1L}};
            uint8_t *l_2924 = (void*)0;
            uint8_t *l_2925 = &g_145;
            uint16_t * const * const l_2928[10][1] = {{&g_423},{&g_423},{&g_423},{&g_423},{(void*)0},{&g_423},{&g_423},{&g_423},{&g_423},{(void*)0}};
            uint16_t * const * const *l_2927 = &l_2928[4][0];
            uint16_t * const * const **l_2926 = &l_2927;
            int32_t l_2934 = 0L;
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2893[i] = 18446744073709551606UL;
            l_2892 = ((void*)0 != (**g_2437));
            --l_2893[1];
            l_2910[0][1] ^= (((safe_mod_func_int8_t_s_s((((safe_unary_minus_func_uint32_t_u(l_2893[1])) > (((void*)0 == l_2901) == ((safe_mul_func_int8_t_s_s(p_23, (((l_2892 = (--(*g_324))) < 0L) < 9L))) , ((((*l_2810) = 0xFB564E05L) <= ((*l_2909) = (safe_rshift_func_uint32_t_u_u(0x0168A9B2L, l_2892)))) > 0x4813L)))) || p_21), (**g_1427))) && p_20) >= 0L);
            l_2934 = (safe_sub_func_uint16_t_u_u(0UL, (safe_unary_minus_func_uint16_t_u((((((l_2910[2][4] |= (safe_rshift_func_int16_t_s_s(0x3850L, 0))) , (safe_add_func_uint64_t_u_u(((safe_rshift_func_uint64_t_u_u((*g_2226), 24)) , (safe_add_func_int16_t_s_s(((safe_add_func_uint32_t_u_u((((*l_2925) = g_304) != ((void*)0 != l_2926)), ((((****g_1425) <= (((safe_div_func_uint64_t_u_u(((void*)0 == &g_2663), l_2933)) , &l_2906[4][0][0]) != &g_2226)) != 0xD7BC4E3BL) || p_20))) && p_23), p_22))), p_20))) == p_20) ^ 0x60L) == 0x8AL)))));
        }
        else
        { /* block id: 1415 */
            int32_t ***l_2960[9][7] = {{(void*)0,&g_878,&g_878,&l_2549,&l_2549,&g_878,&g_878},{&l_2549,&l_2549,&l_2549,&l_2549,&l_2549,&l_2549,&l_2549},{&l_2549,&l_2549,&g_878,&g_878,(void*)0,(void*)0,&g_878},{&g_878,&g_878,&g_878,&l_2549,&g_878,&g_878,&g_878},{&l_2549,&g_878,&g_878,&l_2549,(void*)0,&g_878,&g_878},{&l_2549,&g_878,&l_2549,&g_878,&l_2549,&g_878,&l_2549},{(void*)0,&l_2549,&g_878,&g_878,&l_2549,(void*)0,&g_878},{&g_878,&l_2549,&g_878,&g_878,&g_878,&l_2549,&g_878},{(void*)0,&g_878,&g_878,&l_2549,&l_2549,&g_878,&g_878}};
            int32_t l_2966 = 0x78274F96L;
            int32_t l_2967 = 0x8BD45B88L;
            int32_t l_2969 = (-8L);
            int32_t l_2970 = 0x9C172584L;
            int32_t l_2971 = (-1L);
            int32_t l_2973 = 0x74C359EBL;
            int32_t l_2974 = 0L;
            int32_t l_2975 = 0x86F586F8L;
            int32_t l_2976[7][4][8] = {{{0x760E5CBCL,0xE402FBC9L,(-1L),(-5L),(-1L),0xF97B8A47L,1L,0L},{(-1L),0x37812FE0L,0L,0xD69AFFEAL,(-1L),(-9L),0x4C24BDE5L,0x0900F0EFL},{7L,0x995660E0L,0x6B8EBC77L,0xDB761592L,0xAC7278D5L,0xD69AFFEAL,0x63E60609L,0xFA7E8578L},{(-9L),(-1L),0xD565E635L,0xABA9CD60L,0x2634F631L,0xAC7278D5L,0xE402FBC9L,0xE402FBC9L}},{{9L,0x63E60609L,(-1L),(-1L),0x63E60609L,9L,0xD69AFFEAL,(-1L)},{0xD69AFFEAL,0L,0xE402FBC9L,0x0900F0EFL,3L,(-1L),0x52EEE0DEL,(-1L)},{(-1L),(-1L),(-1L),0x0900F0EFL,(-1L),0x8CD0BD39L,(-1L),(-1L)},{0x2634F631L,(-1L),1L,(-1L),0xEBF20D41L,0x128D3EE6L,0L,(-1L)}},{{(-9L),7L,0x2634F631L,1L,(-1L),0L,0x2C820249L,(-1L)},{0x3903ADADL,0x128D3EE6L,0xAC7278D5L,(-9L),0xD69AFFEAL,(-1L),0xD339696AL,(-1L)},{0xFA7E8578L,0xDB761592L,(-1L),0xDB761592L,0xFA7E8578L,0x4C24BDE5L,9L,0x37812FE0L},{0xD339696AL,1L,(-1L),1L,3L,9L,0x8CD0BD39L,0xDB761592L}},{{0xF97B8A47L,(-1L),(-1L),(-1L),(-1L),0x0900F0EFL,9L,0x5D985BD9L},{3L,(-1L),(-1L),0x37812FE0L,0xD565E635L,0xAC7278D5L,0xD339696AL,0xFA7E8578L},{0x760E5CBCL,3L,0xAC7278D5L,0x7792473DL,7L,(-1L),0x2C820249L,0x8CD0BD39L},{0x4C24BDE5L,0L,0x2634F631L,0xE402FBC9L,0xECB244D2L,0L,0L,0xECB244D2L}},{{0xABE546A8L,0x63E60609L,0x63E60609L,0xABE546A8L,0xD339696AL,(-1L),0xE402FBC9L,0L},{0xEBF20D41L,0L,3L,(-5L),0x37812FE0L,1L,7L,0L},{0xECB244D2L,0L,(-1L),0x52EEE0DEL,0xF97B8A47L,(-1L),0xDB761592L,(-9L)},{0x2C820249L,0x63E60609L,0xEBF20D41L,(-1L),0x128D3EE6L,0L,(-1L),(-1L)}},{{9L,0L,0x8CD0BD39L,0xD339696AL,0x3903ADADL,(-1L),0x2634F631L,1L},{0x63E60609L,3L,0x128D3EE6L,0x2634F631L,0x995660E0L,0xAC7278D5L,0x995660E0L,0x2634F631L},{0x37812FE0L,(-1L),0x37812FE0L,0xECB244D2L,1L,0x0900F0EFL,0xF97B8A47L,(-5L)},{7L,(-1L),(-1L),0x995660E0L,0xDB761592L,9L,1L,0xD565E635L}},{{7L,1L,0x0900F0EFL,0x63E60609L,1L,0x4C24BDE5L,0xAC7278D5L,0xABE546A8L},{0x37812FE0L,0xDB761592L,0L,(-1L),0x995660E0L,(-1L),0xD565E635L,0x0900F0EFL},{0x63E60609L,0x128D3EE6L,0x52EEE0DEL,0x6B8EBC77L,0x3903ADADL,0L,0x0900F0EFL,0xEBF20D41L},{9L,7L,0xF97B8A47L,(-1L),0x128D3EE6L,0x128D3EE6L,(-1L),0xF97B8A47L}}};
            int64_t ****l_3028 = (void*)0;
            uint16_t *****l_3057 = &g_2663;
            int8_t *****l_3061 = &l_2808;
            int16_t l_3076 = 1L;
            int i, j, k;
            for (l_2933 = 0; (l_2933 <= 1); l_2933 += 1)
            { /* block id: 1418 */
                const int32_t l_2944[2][7][7] = {{{0x9EB12A1CL,8L,1L,1L,8L,0x9EB12A1CL,0xEE2B2B85L},{(-10L),8L,0x48F6EED0L,3L,8L,0x45199AABL,0x6707D065L},{(-10L),0xCDF7C160L,1L,3L,0xCDF7C160L,0x9EB12A1CL,0x6707D065L},{0x9EB12A1CL,8L,1L,1L,8L,0x9EB12A1CL,0xEE2B2B85L},{0x38E699EDL,1L,0x6707D065L,0xEE2B2B85L,1L,0x425F832CL,0x6133223FL},{0x38E699EDL,0x48F6EED0L,0L,0xEE2B2B85L,0x48F6EED0L,0xBE2AC290L,0x6133223FL},{0xBE2AC290L,1L,0L,0L,1L,0xBE2AC290L,(-2L)}},{{0x38E699EDL,1L,0x6707D065L,0xEE2B2B85L,1L,0x425F832CL,0x6133223FL},{0x38E699EDL,0x48F6EED0L,0L,0xEE2B2B85L,0x48F6EED0L,0xBE2AC290L,0x6133223FL},{0xBE2AC290L,1L,0L,0L,1L,0xBE2AC290L,(-2L)},{0x38E699EDL,1L,0x6707D065L,0xEE2B2B85L,1L,0x425F832CL,0x6133223FL},{0x38E699EDL,0x48F6EED0L,0L,0xEE2B2B85L,0x48F6EED0L,0xBE2AC290L,0x6133223FL},{0xBE2AC290L,1L,0L,0L,1L,0xBE2AC290L,(-2L)},{0x38E699EDL,1L,0x6707D065L,0xEE2B2B85L,1L,0x425F832CL,0x6133223FL}}};
                uint16_t l_2953 = 0x161DL;
                int32_t l_2965[10][6] = {{0L,0xDA29976CL,0x20F40DBDL,(-8L),0x20F40DBDL,0xDA29976CL},{0x044B0D6EL,0xDA29976CL,0xEC7EECC4L,(-8L),0xEC7EECC4L,0xDA29976CL},{0L,0xDA29976CL,0x20F40DBDL,(-8L),0x20F40DBDL,0xDA29976CL},{0x044B0D6EL,0xDA29976CL,0xEC7EECC4L,(-8L),0xEC7EECC4L,0xDA29976CL},{0L,0xDA29976CL,0x20F40DBDL,(-8L),0x20F40DBDL,0xDA29976CL},{0x044B0D6EL,0xDA29976CL,0xEC7EECC4L,(-8L),0xEC7EECC4L,0xDA29976CL},{0L,0xDA29976CL,0x20F40DBDL,(-8L),0x20F40DBDL,0xDA29976CL},{0x044B0D6EL,0xDA29976CL,0xEC7EECC4L,(-8L),0xEC7EECC4L,0xDA29976CL},{0L,0xDA29976CL,0x20F40DBDL,(-8L),0x20F40DBDL,0xDA29976CL},{0x044B0D6EL,0xDA29976CL,0xEC7EECC4L,(-8L),0xEC7EECC4L,0xDA29976CL}};
                int i, j, k;
                if (((safe_add_func_uint16_t_u_u(l_2937, l_2891)) | 0xB8L))
                { /* block id: 1419 */
                    int64_t l_2954[1];
                    int i;
                    for (i = 0; i < 1; i++)
                        l_2954[i] = 9L;
                    l_2954[0] |= (((+(safe_mul_func_int16_t_s_s(((~((safe_mul_func_uint8_t_u_u(((l_2944[1][5][4] , (safe_div_func_uint16_t_u_u(((**g_424) |= p_22), (*g_156)))) | ((((safe_rshift_func_uint64_t_u_s(1UL, 32)) >= (safe_mul_func_int16_t_s_s((0x700CE782L & (***g_2437)), (safe_add_func_int8_t_s_s(p_23, 249UL))))) , (l_2944[1][5][4] & p_23)) == g_1861)), g_33)) > p_21)) | 0x5BDFL), l_2891))) & l_2953) ^ p_21);
                }
                else
                { /* block id: 1422 */
                    uint32_t l_2955 = 3UL;
                    const int32_t ** const l_2959 = (void*)0;
                    const int32_t ** const *l_2958 = &l_2959;
                    int32_t l_2962 = 8L;
                    l_2955++;
                    for (g_305 = 0; (g_305 <= 1); g_305 += 1)
                    { /* block id: 1426 */
                        int32_t ****l_2961 = &g_877;
                        int i;
                        l_2962 = (l_2958 != (g_131[(l_2933 + 1)] , ((*l_2961) = l_2960[1][5])));
                        return l_2944[1][4][1];
                    }
                }
                for (g_1928 = 0; (g_1928 <= 4); g_1928 += 1)
                { /* block id: 1434 */
                    int32_t l_2964 = 0xA5D33FF2L;
                    int32_t l_2972 = 0L;
                    (*g_1963) = (l_2963 = &l_2700);
                    l_2980--;
                    for (l_2970 = 0; (l_2970 <= 6); l_2970 += 1)
                    { /* block id: 1440 */
                        (*g_227) = ((*g_1963) = &l_2971);
                        if (p_20)
                            continue;
                    }
                }
            }
            for (l_2969 = 2; (l_2969 >= 0); l_2969 -= 1)
            { /* block id: 1449 */
                int32_t l_3008[8][2] = {{0L,1L},{0x93CC1818L,1L},{0L,1L},{0x93CC1818L,1L},{0L,1L},{0x93CC1818L,1L},{0L,1L},{0x93CC1818L,1L}};
                int32_t l_3029 = 0x09C45748L;
                int32_t l_3031 = (-1L);
                int64_t ***l_3032 = &g_1027;
                uint64_t * const *l_3053 = &g_324;
                uint32_t l_3055 = 0UL;
                int i, j;
                for (g_1848 = 2; (g_1848 >= 0); g_1848 -= 1)
                { /* block id: 1452 */
                    uint16_t ****l_2993[7][2] = {{&l_2476,&l_2474},{&l_2476,&l_2476},{&l_2476,&l_2474},{&l_2476,&l_2474},{&l_2474,&l_2474},{&l_2476,&l_2474},{&l_2476,&l_2476}};
                    int8_t *l_3005 = (void*)0;
                    int32_t l_3006 = (-1L);
                    int i, j;
                    for (g_304 = 2; (g_304 >= 0); g_304 -= 1)
                    { /* block id: 1455 */
                        int32_t *l_2983 = &l_2540[1][0];
                        uint16_t ****l_2995 = &l_2476;
                        uint8_t *l_3003 = &l_2483;
                        int i, j;
                        (*g_1963) = l_2983;
                        l_3008[5][0] |= ((*l_2983) = (safe_sub_func_int8_t_s_s(((((g_3007 = (l_3006 &= (((safe_mod_func_uint64_t_u_u(0x5A8C5668AA026624LL, 0xAAD2027C40E42EB1LL)) && (((!(safe_sub_func_uint16_t_u_u((safe_sub_func_int8_t_s_s(((l_2994 = l_2993[1][0]) == l_2995), (((((l_2797[g_304][g_304] < (safe_mul_func_uint16_t_u_u(0x91E2L, ((safe_mul_func_uint64_t_u_u(((safe_mod_func_int16_t_s_s(((-4L) == ((*l_3003) = (((((*l_2768) = ((((void*)0 == l_3002) | 0x4CCCB1D83471877BLL) & l_2797[g_1848][(g_304 + 3)])) ^ g_1879[(l_2969 + 2)][(g_304 + 1)]) && p_23) , g_175[2][7][2]))), l_3004)) || (*l_2963)), 0xC77AD716EAF85180LL)) && (*g_961))))) != (*l_2963)) , (void*)0) == l_3005) ^ p_20))), 1L))) != (*g_2226)) & (**g_868))) ^ 0x759FL))) , (***g_1426)) != g_1848) >= (*g_156)), l_2974)));
                        return p_22;
                    }
                    for (g_1518 = 0; (g_1518 <= 2); g_1518 += 1)
                    { /* block id: 1468 */
                        int32_t l_3015 = (-1L);
                        int8_t *l_3030[6] = {&g_2623,&g_2623,&g_2623,&g_2623,&g_2623,&g_2623};
                        int64_t ****l_3034 = &l_3032;
                        int i, j;
                        (*l_2963) = ((safe_lshift_func_int64_t_s_s(6L, ((0UL < (safe_rshift_func_int64_t_s_u(((safe_lshift_func_uint16_t_u_u(((l_3015 = l_2797[g_1518][(g_1518 + 4)]) ^ (((safe_lshift_func_int16_t_s_s((safe_sub_func_int64_t_s_s((safe_rshift_func_int32_t_s_s(p_21, 10)), (safe_sub_func_uint64_t_u_u((((l_2797[g_1518][(g_1518 + 4)] ^ ((*l_2963) == (safe_mod_func_int8_t_s_s((g_1842 &= ((*g_553) = (((-4L) || (l_2797[g_1518][(g_1518 + 4)] ^ ((l_3029 &= (l_3008[5][0] &= (l_3006 |= (safe_mod_func_int32_t_s_s((((void*)0 != l_3028) || 0x090CL), p_20))))) | (**g_2669)))) , 0L))), p_21)))) ^ 7UL) & l_2797[g_1518][(g_1518 + 4)]), 0L)))), l_3031)) , p_21) ^ g_5[2][3][5])), 13)) >= p_23), 9))) , p_21))) < 0L);
                        (*l_3034) = l_3032;
                        (*l_2963) = 0x812B8707L;
                        (*l_2963) = 0x7672C4A0L;
                    }
                }
                (*l_2963) ^= p_22;
                for (l_2973 = 0; (l_2973 <= (-28)); l_2973--)
                { /* block id: 1484 */
                    uint64_t l_3037 = 18446744073709551615UL;
                    int8_t * const *l_3042 = &g_553;
                    int8_t * const **l_3041 = &l_3042;
                    int8_t * const ***l_3040[2][5];
                    int8_t * const ****l_3039 = &l_3040[0][1];
                    int32_t l_3054 = 5L;
                    int i, j;
                    for (i = 0; i < 2; i++)
                    {
                        for (j = 0; j < 5; j++)
                            l_3040[i][j] = &l_3041;
                    }
                    for (g_305 = 0; (g_305 <= 6); g_305 += 1)
                    { /* block id: 1487 */
                        l_3037 ^= l_2969;
                        return l_3029;
                    }
                    (*g_1963) = (((p_23 <= (~(((l_3039 != &g_1545) && (p_23 != ((void*)0 == l_3043[0]))) | (safe_sub_func_int32_t_s_s((safe_rshift_func_int64_t_s_s(l_3037, ((*l_2768) = (((safe_rshift_func_uint64_t_u_s((safe_add_func_uint16_t_u_u((!(((l_3054 = (((void*)0 == l_3053) != p_22)) < 1UL) <= l_3031)), p_20)), l_3055)) , 0x655FL) != 1UL)))), 1L))))) >= p_22) , l_3056);
                }
                l_3058 = l_3057;
            }
            l_3077 = ((p_20 == ((safe_lshift_func_uint16_t_u_u((l_3061 == ((((safe_rshift_func_uint64_t_u_s(p_23, (safe_lshift_func_int8_t_s_s((0x36F0E1E7L ^ (safe_mul_func_uint8_t_u_u((safe_mul_func_int64_t_s_s(((*l_2768) = ((((safe_div_func_uint8_t_u_u(((0x87L ^ (-1L)) != ((safe_div_func_int8_t_s_s((l_2974 |= (p_21 & (((*l_2810) = ((0L > (safe_add_func_uint8_t_u_u(l_2966, (**g_552)))) == 0x37018EEC7148E69ELL)) == l_2976[1][2][1]))), (-3L))) & 0xD8L)), l_3076)) && (**g_422)) || l_2970) , l_2969)), 0L)), p_20))), 7)))) >= 0x67D7L) || p_23) , (void*)0)), 1)) , p_20)) == p_20);
            for (p_21 = 0; (p_21 < 47); p_21 = safe_add_func_uint16_t_u_u(p_21, 2))
            { /* block id: 1503 */
                uint8_t l_3082[2][8];
                int32_t l_3084 = 0L;
                int32_t l_3085[7] = {0x7A52F9D5L,0x7A52F9D5L,0x7A52F9D5L,0x7A52F9D5L,0x7A52F9D5L,0x7A52F9D5L,0x7A52F9D5L};
                int i, j;
                for (i = 0; i < 2; i++)
                {
                    for (j = 0; j < 8; j++)
                        l_3082[i][j] = 255UL;
                }
                for (p_20 = 0; (p_20 < 1); ++p_20)
                { /* block id: 1506 */
                    (*l_3056) = (l_3082[0][3] , ((void*)0 != l_3083));
                    if (l_2970)
                        goto lbl_3101;
                }
                --g_3086;
                return p_21;
            }
        }
lbl_3101:
        if ((((*l_3058) = (*l_3058)) == ((*l_3089) = l_2994)))
        { /* block id: 1515 */
            const int32_t **l_3097 = &l_3096;
            int32_t *l_3098 = &l_2937;
            uint64_t **l_3099 = &g_2226;
            int32_t l_3100 = 0L;
            (*l_3056) = p_21;
            (*l_3056) = (safe_mul_func_uint8_t_u_u(((safe_lshift_func_uint8_t_u_s((safe_rshift_func_uint64_t_u_u((((*l_3099) = func_58(p_21, func_64((**g_878), p_21, ((*l_3097) = l_3096), ((p_20 && (&l_2891 == (((void*)0 != &l_2488) , &l_2891))) == 0x6791BF39L)), l_3098, (*l_3056), p_22)) != (void*)0), 36)), (**g_1427))) > l_3100), 0x5CL));
        }
        else
        { /* block id: 1520 */
            return (**g_422);
        }
        --l_3102;
    }
    l_3105 = p_22;
    return p_22;
}


/* ------------------------------------------ */
/* 
 * reads : g_424 g_423 g_131
 * writes:
 */
static uint16_t  func_29(int32_t  p_30)
{ /* block id: 15 */
    uint64_t *l_36[7][8] = {{&g_14[4],&g_14[2],&g_14[2],(void*)0,(void*)0,&g_14[2],&g_14[2],&g_14[4]},{&g_14[2],&g_14[2],&g_14[4],&g_14[2],&g_14[4],&g_14[2],&g_14[2],&g_14[2]},{&g_14[2],&g_14[2],(void*)0,(void*)0,&g_14[2],&g_14[2],&g_14[4],&g_14[2]},{&g_14[2],&g_14[2],&g_14[4],&g_14[2],&g_14[2],(void*)0,(void*)0,&g_14[2]},{&g_14[2],&g_14[2],&g_14[2],&g_14[2],&g_14[2],&g_14[2],&g_14[2],&g_14[2]},{&g_14[2],&g_14[2],&g_14[2],(void*)0,&g_14[4],&g_14[4],(void*)0,&g_14[2]},{&g_14[2],&g_14[2],&g_14[4],&g_14[2],&g_14[2],&g_14[2],&g_14[4],&g_14[2]}};
    int32_t l_37 = 0x0BDEC7E1L;
    int32_t l_38 = (-8L);
    int64_t l_922 = 0x60137A253D4E8ED5LL;
    int32_t l_974[1];
    int32_t ***l_981 = &g_878;
    uint16_t l_1036[4][8][8] = {{{65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL,0xA73BL},{0xDA37L,65532UL,0x91ACL,65527UL,65527UL,0x91ACL,65532UL,0xDA37L},{0xA73BL,65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL},{0xDA37L,0x706CL,0xA73BL,0xDA37L,0x7604L,0x7604L,0xDA37L,0xA73BL},{65527UL,65527UL,0x91ACL,65532UL,0xDA37L,0x91ACL,0xDA37L,65532UL},{0xA73BL,65532UL,0xA73BL,0x7604L,65532UL,0x706CL,0x706CL,65532UL},{65532UL,0x706CL,0x706CL,65532UL,0x7604L,0xA73BL,65532UL,0xA73BL},{65532UL,0xDA37L,0x91ACL,0xDA37L,65532UL,0x91ACL,65527UL,65527UL}},{{0xA73BL,0xDA37L,0x7604L,0x7604L,0xDA37L,0xA73BL,0x706CL,0xDA37L},{65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL,0xA73BL},{0xDA37L,65532UL,0x91ACL,65527UL,65527UL,0x91ACL,65532UL,0xDA37L},{0xA73BL,65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL},{0xDA37L,0x706CL,0xA73BL,0xDA37L,0x7604L,0x7604L,0xDA37L,0xA73BL},{65527UL,65527UL,0x91ACL,65532UL,0xDA37L,0x91ACL,0xDA37L,65532UL},{0xA73BL,65532UL,0xA73BL,0x7604L,65532UL,0x706CL,0x706CL,65532UL},{65532UL,0x706CL,0x706CL,65532UL,0x7604L,0xA73BL,65532UL,0xA73BL}},{{65532UL,0xDA37L,0x91ACL,0xDA37L,65532UL,0x91ACL,65527UL,65527UL},{0xA73BL,0xDA37L,0x7604L,0x7604L,0xDA37L,0xA73BL,0x706CL,0xDA37L},{65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL,0xA73BL},{0x7604L,0x706CL,65527UL,0xA73BL,0xA73BL,65527UL,0x706CL,0x7604L},{0xAF98L,0xA73BL,0x91ACL,65526UL,0xA73BL,65526UL,0x91ACL,0xA73BL},{0x7604L,0x91ACL,0xAF98L,0x7604L,65526UL,65526UL,0x7604L,0xAF98L},{0xA73BL,0xA73BL,65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL},{0xAF98L,0x706CL,0xAF98L,65526UL,0x706CL,0x91ACL,0x91ACL,0x706CL}},{{0x706CL,0x91ACL,0x91ACL,0x706CL,65526UL,0xAF98L,0x706CL,0xAF98L},{0x706CL,0x7604L,65527UL,0x7604L,0x706CL,65527UL,0xA73BL,0xA73BL},{0xAF98L,0x7604L,65526UL,65526UL,0x7604L,0xAF98L,0x91ACL,0x7604L},{0xA73BL,0x91ACL,65526UL,0xA73BL,65526UL,0x91ACL,0xA73BL,0xAF98L},{0x7604L,0x706CL,65527UL,0xA73BL,0xA73BL,65527UL,0x706CL,0x7604L},{0xAF98L,0xA73BL,0x91ACL,65526UL,0xA73BL,65526UL,0x91ACL,0xA73BL},{0x7604L,0x91ACL,0xAF98L,0x7604L,65526UL,65526UL,0x7604L,0xAF98L},{0xA73BL,0xA73BL,65527UL,0x706CL,0x7604L,65527UL,0x7604L,0x706CL}}};
    uint8_t l_1104 = 255UL;
    int32_t *l_1132 = &l_37;
    int32_t *l_1240 = &g_2;
    int8_t **l_1286 = &g_553;
    uint32_t l_1287[3];
    int64_t **l_1359 = (void*)0;
    int32_t *l_1382 = &g_5[2][1][5];
    uint16_t ***l_1390 = (void*)0;
    uint16_t ****l_1389 = &l_1390;
    int32_t **l_1499[8] = {(void*)0,&l_1132,(void*)0,(void*)0,&l_1132,(void*)0,(void*)0,&l_1132};
    int8_t *l_1506 = &g_571[0];
    int8_t ** const l_1505 = &l_1506;
    int8_t ** const *l_1504 = &l_1505;
    uint32_t l_1517 = 4UL;
    uint32_t l_1519[1];
    int32_t *l_1587 = (void*)0;
    int64_t l_1638 = 0xE29A2E8A7A722A09LL;
    int16_t *l_1660 = &g_1186;
    uint64_t l_1770[5][6] = {{18446744073709551615UL,18446744073709551608UL,18446744073709551615UL,18446744073709551611UL,0x72F5C369B6B642FALL,0x72F5C369B6B642FALL},{18446744073709551614UL,18446744073709551615UL,18446744073709551615UL,18446744073709551614UL,18446744073709551608UL,1UL},{1UL,18446744073709551614UL,0x72F5C369B6B642FALL,18446744073709551614UL,1UL,18446744073709551611UL},{18446744073709551614UL,1UL,18446744073709551611UL,18446744073709551611UL,1UL,18446744073709551614UL},{18446744073709551615UL,18446744073709551614UL,18446744073709551608UL,1UL,18446744073709551608UL,18446744073709551614UL}};
    int8_t l_1796 = 0xC2L;
    uint32_t **l_1815 = &g_1814[3][0];
    uint8_t l_1850 = 7UL;
    uint32_t l_1858 = 0UL;
    int8_t *l_2006 = &g_925;
    uint32_t l_2010[7] = {0x09D37311L,0x10206477L,0x10206477L,0x09D37311L,0x10206477L,0x10206477L,0x09D37311L};
    uint16_t l_2063 = 9UL;
    int8_t l_2097[5];
    uint16_t **l_2122 = (void*)0;
    uint32_t l_2277[6][8] = {{0x0E995452L,18446744073709551615UL,1UL,0x813E7186L,1UL,0xED324FBFL,1UL,1UL},{0x0E995452L,1UL,0xF4FB8A6AL,0xF4FB8A6AL,1UL,0x0E995452L,18446744073709551609UL,0x35B765BFL},{18446744073709551615UL,0x3360B9C9L,0xED324FBFL,18446744073709551609UL,1UL,0x78B4D538L,5UL,0UL},{1UL,0x35B765BFL,0x78B4D538L,18446744073709551609UL,0x10D7C925L,18446744073709551609UL,0x78B4D538L,0x35B765BFL},{5UL,0x10D7C925L,0x813E7186L,0xF4FB8A6AL,0UL,0x901F015BL,1UL,1UL},{0xF4FB8A6AL,18446744073709551615UL,0x3360B9C9L,0x10D7C925L,0UL,0x2E95A337L,0x2E95A337L,0UL}};
    int64_t l_2317 = 0xDE360ABED9978317LL;
    const uint64_t *l_2429 = &g_2430;
    const uint64_t **l_2428[8][8] = {{&l_2429,&l_2429,(void*)0,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429},{&l_2429,(void*)0,(void*)0,&l_2429,&l_2429,&l_2429,&l_2429,(void*)0},{&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429},{&l_2429,&l_2429,&l_2429,(void*)0,&l_2429,&l_2429,&l_2429,&l_2429},{&l_2429,(void*)0,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429},{&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,&l_2429},{&l_2429,&l_2429,(void*)0,&l_2429,&l_2429,&l_2429,(void*)0,&l_2429},{&l_2429,&l_2429,&l_2429,&l_2429,&l_2429,(void*)0,&l_2429,&l_2429}};
    uint32_t l_2440 = 0x34DD4F9EL;
    int i, j, k;
    for (i = 0; i < 1; i++)
        l_974[i] = 0L;
    for (i = 0; i < 3; i++)
        l_1287[i] = 0x7D3CC29EL;
    for (i = 0; i < 1; i++)
        l_1519[i] = 0xC8ECF535L;
    for (i = 0; i < 5; i++)
        l_2097[i] = 0x57L;
    return (**g_424);
}


/* ------------------------------------------ */
/* 
 * reads : g_294 g_868 g_552 g_553 g_5
 * writes: g_294 g_552 g_868 g_175 g_5 g_571
 */
static int32_t  func_41(uint32_t  p_42, uint64_t * p_43, uint64_t * const  p_44, int32_t * p_45, int32_t  p_46)
{ /* block id: 19 */
    int16_t l_55 = (-1L);
    int32_t l_582 = (-4L);
    uint16_t *l_647 = (void*)0;
    int32_t l_648 = 7L;
    int32_t l_666 = 0x16A49FB0L;
    int32_t l_668 = 0xDA1060FEL;
    int32_t l_676 = 0xC3FEB694L;
    int32_t l_677 = 1L;
    int32_t l_679 = 0x7EF306FEL;
    int32_t l_680 = 0x8CCDD66BL;
    int32_t l_682 = (-1L);
    int32_t l_686 = 0x7CC8CF48L;
    int32_t l_688 = 0x4188F6FFL;
    int32_t l_691[5][9] = {{0x92FDC03BL,0x3BF5561BL,0L,(-5L),(-5L),0L,0x3BF5561BL,0x92FDC03BL,0x7E3E7547L},{0x027AECE5L,1L,0L,0L,1L,0L,(-5L),0x027AECE5L,0L},{0x027AECE5L,0x3BF5561BL,0x7E3E7547L,0x027AECE5L,0x92FDC03BL,0L,0x92FDC03BL,0x027AECE5L,0x7E3E7547L},{0x92FDC03BL,0x92FDC03BL,0xE21A240EL,1L,0x16EF4F74L,0L,(-5L),0x92FDC03BL,0xEE5AEF35L},{0x3BF5561BL,0x027AECE5L,0xEE5AEF35L,1L,0x92FDC03BL,0L,0x3BF5561BL,0x3BF5561BL,0L}};
    int32_t *l_718 = &g_5[2][3][5];
    int32_t l_729[3][4] = {{1L,1L,1L,1L},{1L,1L,1L,1L},{1L,1L,1L,1L}};
    const int64_t *l_788 = &g_294;
    int8_t **l_855[9] = {&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553};
    int16_t **l_870 = &g_454;
    int i, j;
    l_55 = p_46;
    for (p_42 = 10; (p_42 > 22); p_42++)
    { /* block id: 23 */
        const int32_t *l_70[2];
        const int32_t l_123[10][2][8] = {{{0x1CCE0B29L,0x1CCE0B29L,0x377C8831L,0xE1809887L,0x377C8831L,0x1CCE0B29L,0x1CCE0B29L,0x377C8831L},{(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L}},{{0x377C8831L,0x6BF440EAL,0xE1809887L,0xE1809887L,0x6BF440EAL,0x377C8831L,0x6BF440EAL,0xE1809887L},{(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL,(-1L)}},{{0x1CCE0B29L,0x377C8831L,0xE1809887L,0x377C8831L,0x1CCE0B29L,0x1CCE0B29L,0x377C8831L,0xE1809887L},{0x1CCE0B29L,0x1CCE0B29L,0x377C8831L,0xE1809887L,0x377C8831L,0x1CCE0B29L,0x1CCE0B29L,0x377C8831L}},{{(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL,(-1L),(-1L),(-1L)},{(-1L),0x1CCE0B29L,0x6BF440EAL,0x6BF440EAL,0x1CCE0B29L,(-1L),0x1CCE0B29L,0x6BF440EAL}},{{0xE1809887L,0x1CCE0B29L,0xE1809887L,(-1L),(-1L),0xE1809887L,0x1CCE0B29L,0xE1809887L},{0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL}},{{0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L)},{0xE1809887L,(-1L),(-1L),0xE1809887L,0x1CCE0B29L,0xE1809887L,(-1L),(-1L)}},{{(-1L),0x1CCE0B29L,0x6BF440EAL,0x6BF440EAL,0x1CCE0B29L,(-1L),0x1CCE0B29L,0x6BF440EAL},{0xE1809887L,0x1CCE0B29L,0xE1809887L,(-1L),(-1L),0xE1809887L,0x1CCE0B29L,0xE1809887L}},{{0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL},{0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L)}},{{0xE1809887L,(-1L),(-1L),0xE1809887L,0x1CCE0B29L,0xE1809887L,(-1L),(-1L)},{(-1L),0x1CCE0B29L,0x6BF440EAL,0x6BF440EAL,0x1CCE0B29L,(-1L),0x1CCE0B29L,0x6BF440EAL}},{{0xE1809887L,0x1CCE0B29L,0xE1809887L,(-1L),(-1L),0xE1809887L,0x1CCE0B29L,0xE1809887L},{0x377C8831L,(-1L),0x6BF440EAL,(-1L),0x377C8831L,0x377C8831L,(-1L),0x6BF440EAL}}};
        uint64_t *l_609 = &g_14[2];
        int8_t *l_631 = (void*)0;
        int32_t *l_642[9] = {&g_33,&g_33,&g_33,&g_33,&g_33,&g_33,&g_33,&g_33,&g_33};
        uint32_t l_646 = 0UL;
        int32_t l_655 = 2L;
        int32_t l_656 = 0x782385E0L;
        int64_t l_657 = 6L;
        int32_t l_658 = 0xD413C57EL;
        int32_t l_659 = (-1L);
        int32_t l_661 = 0L;
        int32_t l_663 = 0x45D010D5L;
        int32_t l_672 = 7L;
        int32_t l_675[5];
        int32_t *l_719 = &g_5[2][3][5];
        int8_t l_761 = 4L;
        int32_t l_776[6][7][1] = {{{0x82F0C332L},{0x1428997BL},{1L},{0x4FBF7202L},{0x10013349L},{(-6L)},{0L}},{{0x9D7B1428L},{(-1L)},{(-1L)},{0x9D7B1428L},{0L},{(-6L)},{0x10013349L}},{{0x4FBF7202L},{1L},{0x1428997BL},{0x82F0C332L},{0x29B83C97L},{0x82F0C332L},{0x1428997BL}},{{1L},{0x4FBF7202L},{0x10013349L},{(-6L)},{0L},{0x9D7B1428L},{(-1L)}},{{(-1L)},{0x9D7B1428L},{0L},{(-6L)},{0x10013349L},{0x4FBF7202L},{1L}},{{0x1428997BL},{0x82F0C332L},{0x29B83C97L},{0x82F0C332L},{0x1428997BL},{1L},{0x4FBF7202L}}};
        int32_t *l_811 = &l_686;
        uint32_t l_820 = 0x2C5C9436L;
        int64_t l_854[4];
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_70[i] = &g_33;
        for (i = 0; i < 5; i++)
            l_675[i] = 1L;
        for (i = 0; i < 4; i++)
            l_854[i] = (-1L);
    }
    for (g_294 = (-28); (g_294 <= 10); g_294 = safe_add_func_uint32_t_u_u(g_294, 3))
    { /* block id: 404 */
        int8_t **l_862 = &g_553;
        int8_t ***l_863[8];
        int i;
        for (i = 0; i < 8; i++)
            l_863[i] = &l_862;
        g_552 = l_862;
    }
    for (l_686 = 0; (l_686 <= (-29)); l_686--)
    { /* block id: 409 */
        uint16_t l_872 = 0xE9E5L;
        l_872 |= (safe_div_func_int8_t_s_s(((**g_552) = ((g_868 = g_868) == l_870)), (+((*l_718) = p_46))));
        return (*l_718);
    }
    return p_46;
}


/* ------------------------------------------ */
/* 
 * reads : g_424 g_423 g_131
 * writes: g_131
 */
static uint64_t * func_58(uint32_t  p_59, uint64_t * p_60, int32_t * p_61, uint16_t  p_62, uint8_t  p_63)
{ /* block id: 298 */
    int32_t l_605[9];
    int i;
    for (i = 0; i < 9; i++)
        l_605[i] = (-1L);
    l_605[5] = (l_605[2] > ((**g_424)++));
    return &g_14[2];
}


/* ------------------------------------------ */
/* 
 * reads : g_157 g_145 g_305 g_552 g_553 g_175 g_571 g_131 g_160
 * writes: g_305 g_5 g_160
 */
static uint64_t * func_64(int32_t  p_65, const int16_t  p_66, const int32_t * p_67, int64_t  p_68)
{ /* block id: 291 */
    int64_t *l_585 = &g_294;
    int32_t l_588 = (-1L);
    uint32_t *l_597 = &g_305;
    uint32_t l_600 = 0xA26BFECBL;
    uint32_t l_601 = 0UL;
    int32_t *l_602 = (void*)0;
    int32_t *l_603 = &g_5[3][3][5];
    int32_t *l_604 = &g_160;
    (*l_604) |= ((safe_add_func_int8_t_s_s(((void*)0 == l_585), g_157[4][2])) , ((*l_603) = (safe_sub_func_uint16_t_u_u((p_66 == (l_601 &= (l_588 <= ((((safe_rshift_func_uint16_t_u_u(((safe_rshift_func_int32_t_s_u((((((safe_rshift_func_uint32_t_u_s((g_145 , ((*l_597)--)), 18)) ^ l_600) | (**g_552)) != l_588) < 0x1C21L), g_571[0])) | 0L), p_66)) == l_588) ^ g_131[2]) , p_65)))), l_588))));
    (*l_603) = p_68;
    return l_585;
}


/* ------------------------------------------ */
/* 
 * reads : g_156 g_157 g_2 g_33 g_325 g_160 g_305
 * writes: g_160 g_305
 */
static int8_t  func_74(int16_t  p_75, int8_t  p_76)
{ /* block id: 207 */
    uint16_t *l_358 = &g_131[0];
    int32_t l_364 = 0xBD6B79A9L;
    int32_t l_365 = 0x35EB71DCL;
    int32_t l_366 = 0xCBCEC452L;
    int32_t *l_367 = &g_160;
    int32_t *l_368 = &g_5[3][4][4];
    int32_t *l_369[5][3][3] = {{{&l_365,(void*)0,(void*)0},{&g_5[2][3][5],&l_365,(void*)0},{&g_5[2][3][5],&g_160,&g_5[2][3][5]}},{{(void*)0,&l_365,&g_5[2][3][5]},{(void*)0,(void*)0,&l_365},{&l_365,&l_366,&g_5[2][3][5]}},{{&g_5[2][3][5],&g_5[2][3][5],&g_160},{&l_365,(void*)0,&l_366},{(void*)0,&g_160,&g_5[1][0][6]}},{{(void*)0,&g_5[1][5][1],&g_5[1][5][1]},{&g_5[2][3][5],(void*)0,&g_5[1][0][6]},{&g_5[2][3][5],&l_365,(void*)0}},{{&g_5[2][3][5],&g_160,&g_5[2][3][5]},{&l_365,&g_5[2][3][5],&l_365},{&g_5[2][3][5],&g_160,&g_5[2][3][5]}}};
    uint32_t l_370 = 0x716335F9L;
    const uint16_t l_375[5][3][3] = {{{6UL,6UL,0UL},{0x2AA1L,6UL,0x9520L},{65531UL,65531UL,0x97D1L}},{{0x2AA1L,0x97D1L,6UL},{6UL,0x97D1L,0x2AA1L},{0x97D1L,65531UL,65531UL}},{{0x9520L,6UL,0x2AA1L},{0UL,6UL,6UL},{0UL,0xDED0L,0x97D1L}},{{0x9520L,65535UL,0x9520L},{0x97D1L,0xDED0L,0UL},{6UL,6UL,0UL}},{{0x2AA1L,6UL,0x9520L},{65531UL,65531UL,0x97D1L},{0x2AA1L,0x97D1L,6UL}}};
    uint64_t l_405 = 9UL;
    uint16_t **l_425 = &l_358;
    int64_t l_447 = 3L;
    int8_t *l_501 = &g_175[4][0][2];
    uint32_t l_534 = 0UL;
    int32_t l_536 = 0x04E7B95AL;
    uint16_t ***l_569 = &g_422;
    uint16_t ****l_568[10][6] = {{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569},{&l_569,&l_569,&l_569,&l_569,&l_569,&l_569}};
    int8_t **l_572 = &l_501;
    int i, j, k;
    (*l_367) &= (safe_lshift_func_int16_t_s_s(((void*)0 == l_358), ((*g_156) >= (l_366 &= (((p_75 != (g_157[1][0] < (((safe_sub_func_int8_t_s_s((safe_rshift_func_uint32_t_u_u((!((l_364 = g_2) || 249UL)), g_33)), ((((&g_353 == &g_14[2]) , p_75) ^ l_365) ^ p_76))) >= p_75) || g_325))) , l_365) | l_365)))));
    l_370++;
    for (g_305 = 0; (g_305 > 42); g_305++)
    { /* block id: 214 */
        uint32_t l_377 = 0xF44B5EA7L;
        int32_t l_399 = (-2L);
        uint16_t **l_419 = &l_358;
        uint8_t *l_426 = &g_145;
        int64_t *l_444 = &g_294;
        int32_t l_449 = 0x47F2B78BL;
        int32_t *l_464 = &l_364;
        int32_t l_491[7][4][3] = {{{0x94162B7BL,0xABEF210AL,0x36402D9BL},{0x9DA7EAE0L,0x7B7F2B6AL,0x7B7F2B6AL},{0x0518D10BL,0xF561113FL,0x7B7F2B6AL},{0x81AFFFFFL,0x72CEACCEL,0x36402D9BL}},{{0x628FA6E7L,0x81AFFFFFL,0L},{0xFB84A22FL,0x60E1631DL,0xF561113FL},{0x63667A1AL,0x81AFFFFFL,(-1L)},{0x8E0CD291L,0x72CEACCEL,0x9DA7EAE0L}},{{0xF561113FL,0xF561113FL,0x81AFFFFFL},{0xF561113FL,0x7B7F2B6AL,0x63667A1AL},{0x8E0CD291L,0xABEF210AL,0x62453D6AL},{0x63667A1AL,(-1L),0x8E0CD291L}},{{0xFB84A22FL,0x8E0CD291L,0x62453D6AL},{0x628FA6E7L,0x6E3F14D9L,0x63667A1AL},{0x81AFFFFFL,0x94162B7BL,0x81AFFFFFL},{0x0518D10BL,0x94162B7BL,0x9DA7EAE0L}},{{0x9DA7EAE0L,0x6E3F14D9L,(-1L)},{0x94162B7BL,0x8E0CD291L,0xF561113FL},{0x72CEACCEL,(-1L),0L},{0x94162B7BL,0xABEF210AL,0x36402D9BL}},{{0x9DA7EAE0L,0x7B7F2B6AL,0x7B7F2B6AL},{0x0518D10BL,0xF561113FL,0x7B7F2B6AL},{0x81AFFFFFL,0x72CEACCEL,0x36402D9BL},{0x628FA6E7L,0x81AFFFFFL,0L}},{{0xFB84A22FL,0x60E1631DL,0xFB84A22FL},{0x9DA7EAE0L,0x0518D10BL,0x628FA6E7L},{0x72CEACCEL,0x7B7F2B6AL,0x81AFFFFFL},{0xFB84A22FL,0xFB84A22FL,0x0518D10BL}}};
        int32_t l_492 = (-1L);
        int32_t l_565 = 1L;
        uint16_t ***l_567 = (void*)0;
        uint16_t ****l_566 = &l_567;
        int8_t *l_570[5] = {&g_571[0],&g_571[0],&g_571[0],&g_571[0],&g_571[0]};
        uint64_t *l_573[2];
        int i, j, k;
        for (i = 0; i < 2; i++)
            l_573[i] = (void*)0;
    }
    return p_75;
}


/* ------------------------------------------ */
/* 
 * reads : g_131 g_145 g_156 g_5 g_14 g_160 g_33 g_157 g_122 g_175 g_103 g_227 g_228 g_248 g_2 g_294 g_305 g_321 g_325 g_247 g_324 g_353
 * writes: g_122 g_131 g_145 g_160 g_175 g_5 g_228 g_247 g_294 g_304 g_305 g_157 g_321 g_324 g_353
 */
static const int32_t  func_79(uint64_t * p_80, const uint8_t  p_81, int64_t  p_82, int16_t  p_83, uint16_t  p_84)
{ /* block id: 37 */
    uint32_t l_161 = 0xEFF8C835L;
    int32_t *l_184 = &g_5[0][5][0];
    int32_t l_205 = 0x1395103CL;
    int32_t l_217 = 0x51F979E6L;
    int32_t l_253 = 0x073444A4L;
    int32_t l_255 = 0L;
    int32_t l_259 = 6L;
    int32_t l_261[10] = {0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL,0xA99ED4DEL};
    int8_t *l_327 = &g_175[2][7][2];
    int i;
lbl_289:
    for (g_122 = 2; (g_122 < 45); g_122++)
    { /* block id: 40 */
        uint64_t l_127 = 0xFDBF3818BB1ADA6FLL;
        uint16_t *l_130 = &g_131[1];
        uint16_t l_143 = 0x68CCL;
        uint8_t *l_144 = &g_145;
        uint32_t l_154 = 0xC33F7625L;
        int32_t *l_158 = (void*)0;
        int32_t *l_159 = &g_160;
        int32_t l_208 = 0xD3D53B09L;
        uint8_t l_218 = 254UL;
        uint8_t l_223 = 1UL;
        (*l_159) |= (+((l_127 >= (((0UL > (safe_sub_func_int16_t_s_s(((++(*l_130)) || (++g_131[1])), (!(-1L))))) == (safe_sub_func_int32_t_s_s(((safe_div_func_uint8_t_u_u(((((safe_mod_func_uint8_t_u_u(((*l_144) ^= l_143), 0x17L)) && ((safe_lshift_func_int8_t_s_u((safe_mod_func_int32_t_s_s((safe_lshift_func_int16_t_s_s((p_83 = (l_154 != (((*l_144) ^= (!((&p_84 == g_156) || l_154))) >= p_84))), 8)), g_5[2][3][5])), g_14[2])) >= g_14[1])) || g_5[2][3][5]) > p_84), p_81)) < p_84), p_82))) , p_83)) , g_131[1]));
        for (g_160 = 3; (g_160 >= 0); g_160 -= 1)
        { /* block id: 49 */
            int32_t *l_164 = &g_5[1][1][6];
            uint16_t l_179[10][4][6] = {{{65528UL,65527UL,65534UL,0x3CABL,0x125EL,6UL},{6UL,0x1127L,65534UL,0UL,0UL,65529UL},{9UL,0xC88EL,65535UL,1UL,0UL,0x1FF2L},{0x55C6L,65528UL,0xDDA6L,0UL,65534UL,65534UL}},{{0x1127L,1UL,1UL,0x1127L,1UL,65527UL},{65529UL,0x125EL,0x501AL,0UL,65532UL,0UL},{65527UL,6UL,65535UL,0UL,65532UL,65534UL},{65531UL,0x125EL,3UL,65534UL,1UL,0x81BCL}},{{0xD968L,1UL,65531UL,65529UL,65534UL,0x261EL},{0UL,65528UL,7UL,3UL,0UL,65535UL},{0x39D0L,0xC88EL,65532UL,4UL,0UL,65528UL},{0UL,0x1127L,65535UL,0x39D0L,0x125EL,0x39D0L}},{{0x3CABL,65527UL,0x3CABL,65535UL,65532UL,0xC88EL},{1UL,3UL,3UL,3UL,65528UL,0x55C6L},{65534UL,0x501AL,65527UL,3UL,65535UL,65535UL},{1UL,65535UL,9UL,65535UL,0x1FF2L,65532UL}},{{0x3CABL,65529UL,0x261EL,0x39D0L,65535UL,0UL},{0UL,65528UL,6UL,4UL,65528UL,0UL},{0x39D0L,0UL,0xC741L,3UL,4UL,0UL},{0UL,0UL,4UL,65529UL,65529UL,4UL}},{{0xD968L,0xD968L,3UL,65534UL,0xDDA6L,0UL},{65531UL,0x81BCL,65528UL,0UL,0x3CABL,3UL},{65527UL,65531UL,65528UL,0UL,0xD968L,0UL},{65529UL,0UL,3UL,0x1127L,7UL,4UL}},{{0x1127L,7UL,4UL,0UL,65535UL,0UL},{0x55C6L,65535UL,0xC741L,1UL,9UL,0UL},{9UL,65534UL,6UL,0UL,0UL,0UL},{6UL,65532UL,0x261EL,0x3CABL,0x125EL,65528UL}},{{65532UL,3UL,65532UL,7UL,0UL,9UL},{6UL,0UL,65528UL,0x1127L,0UL,0x81BCL},{65535UL,0UL,65535UL,0x261EL,0UL,0UL},{0x501AL,3UL,0x1FF2L,0UL,0x125EL,65533UL}},{{3UL,65528UL,65535UL,4UL,65529UL,6UL},{7UL,0UL,65528UL,65534UL,65532UL,0x3CABL},{65535UL,0x3CABL,4UL,0x501AL,9UL,0x125EL},{0UL,4UL,65529UL,65529UL,4UL,0UL}},{{65534UL,0UL,0xDDA6L,65528UL,0x55C6L,0x261EL},{9UL,65529UL,0x3CABL,0xD968L,0x1FF2L,4UL},{9UL,0UL,0xD968L,65528UL,65535UL,65528UL},{65534UL,0x55C6L,7UL,65529UL,0UL,0UL}}};
            int i, j, k;
            if ((0UL != l_161))
            { /* block id: 50 */
                int32_t **l_162 = &l_159;
                int32_t **l_163 = &l_158;
                (*l_163) = ((*l_162) = &g_5[3][7][1]);
                for (p_84 = 0; (p_84 <= 3); p_84 += 1)
                { /* block id: 55 */
                    int i, j, k;
                    l_164 = &g_5[g_160][(p_84 + 2)][(p_84 + 1)];
                    (*l_162) = &g_5[2][3][5];
                }
            }
            else
            { /* block id: 59 */
                int32_t *l_166[1][1];
                uint64_t *l_178[3];
                int32_t l_207 = 1L;
                int i, j;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 1; j++)
                        l_166[i][j] = &g_5[2][3][4];
                }
                for (i = 0; i < 3; i++)
                    l_178[i] = (void*)0;
                for (l_143 = 0; (l_143 <= 3); l_143 += 1)
                { /* block id: 62 */
                    int32_t *l_183 = &g_5[2][3][5];
                    uint32_t l_212[5] = {0xBEBF25DAL,0xBEBF25DAL,0xBEBF25DAL,0xBEBF25DAL,0xBEBF25DAL};
                    int i;
                    if (p_81)
                        break;
                    for (l_154 = 0; (l_154 <= 3); l_154 += 1)
                    { /* block id: 66 */
                        int32_t **l_165[10] = {&l_159,&l_159,&l_159,&l_159,&l_159,&l_159,&l_159,&l_159,&l_159,&l_159};
                        int8_t *l_174 = &g_175[2][7][2];
                        uint64_t *l_177 = (void*)0;
                        uint64_t **l_176[2];
                        int i, j, k;
                        for (i = 0; i < 2; i++)
                            l_176[i] = &l_177;
                        l_166[0][0] = (l_164 = &g_5[1][5][0]);
                        g_5[l_143][l_143][(l_154 + 3)] = (((safe_add_func_int16_t_s_s((l_161 , (safe_unary_minus_func_uint32_t_u((((safe_lshift_func_uint16_t_u_s((((*l_174) = (safe_sub_func_uint64_t_u_u(0x4D2A82656994F7FALL, g_14[6]))) ^ 0L), 9)) < (p_80 != (l_178[1] = &g_122))) <= 0x493796DFL)))), (p_83 = l_179[5][0][4]))) || ((((!(safe_div_func_uint8_t_u_u((p_83 , p_82), g_33))) != 0L) < g_160) , g_157[4][2])) || (*l_159));
                        l_183 = l_164;
                        l_184 = (void*)0;
                    }
                    for (l_127 = 0; (l_127 <= 3); l_127 += 1)
                    { /* block id: 78 */
                        int64_t l_187[8] = {0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL,0x65A28AB481776112LL};
                        uint32_t *l_204[8] = {&l_161,&l_161,&l_161,&l_161,&l_161,&l_161,&l_161,&l_161};
                        int8_t *l_206 = &g_175[2][7][2];
                        int i, j, k;
                        l_207 |= (((safe_lshift_func_int8_t_s_u(l_187[3], ((*l_144) = (*l_164)))) > p_81) , ((safe_rshift_func_uint8_t_u_s((0x57FEL && (g_122 , (safe_rshift_func_int32_t_s_s((((((safe_add_func_int8_t_s_s((safe_rshift_func_uint64_t_u_s(((safe_unary_minus_func_uint32_t_u((safe_div_func_uint8_t_u_u(((safe_mul_func_uint8_t_u_u((p_84 < (safe_rshift_func_uint32_t_u_s(((safe_unary_minus_func_int8_t_s(((l_205 = 4294967295UL) , (((*l_206) &= p_84) && ((((0x38CA9B3DL >= p_82) > g_131[1]) > g_103) & p_82))))) <= (*p_80)), (*l_183)))), g_160)) | 0UL), (-4L))))) | 0x37DDB646L), p_82)), 0x9BL)) , (void*)0) == l_159) > p_84) >= 0x72L), (*l_164))))), p_84)) != g_33));
                    }
                    if (g_5[3][7][5])
                    { /* block id: 84 */
                        if (p_84)
                            break;
                    }
                    else
                    { /* block id: 86 */
                        uint32_t l_209 = 0UL;
                        l_209++;
                        if (l_212[4])
                            continue;
                    }
                }
                if (g_175[2][7][2])
                { /* block id: 91 */
                    int8_t l_215[3][7] = {{(-8L),0x0DL,(-8L),(-8L),0x0DL,(-8L),(-8L)},{0x57L,0x57L,0x29L,0x57L,0x57L,0x29L,0x57L},{0x0DL,(-8L),(-8L),0x0DL,(-8L),(-8L),0x0DL}};
                    int32_t l_216 = (-1L);
                    int i, j;
                    for (l_205 = 0; (l_205 > (-18)); --l_205)
                    { /* block id: 94 */
                        --l_218;
                        return p_84;
                    }
                }
                else
                { /* block id: 98 */
                    for (l_207 = 0; (l_207 < 12); ++l_207)
                    { /* block id: 101 */
                        (*l_164) = l_223;
                        return p_84;
                    }
                    return (*l_164);
                }
            }
        }
        return p_81;
    }
    for (g_122 = 0; (g_122 <= 3); g_122 += 1)
    { /* block id: 113 */
        uint32_t l_238 = 0x679C8553L;
        uint64_t *l_240 = &g_14[2];
        uint64_t **l_239[1];
        int32_t l_254 = 0xCEC61A21L;
        int32_t l_257 = 0x812CA253L;
        int32_t l_262 = 0L;
        int32_t l_320[1][3][5] = {{{0x2D643A89L,0x2D643A89L,0xE6646E04L,0xFC572CB7L,(-9L)},{0xFA1D2478L,4L,4L,0xFA1D2478L,0x2D643A89L},{0xFA1D2478L,0xFC572CB7L,0L,0L,0xFC572CB7L}}};
        int i, j, k;
        for (i = 0; i < 1; i++)
            l_239[i] = &l_240;
        if ((g_175[2][7][2] , (safe_unary_minus_func_uint64_t_u(((safe_rshift_func_int8_t_s_s(p_81, 7)) && (-2L))))))
        { /* block id: 114 */
            const int16_t l_229 = 0x23C6L;
            (*g_227) = &g_5[2][3][5];
            return l_229;
        }
        else
        { /* block id: 117 */
            int32_t **l_230 = &g_228[4][1][3];
            int32_t *l_231 = (void*)0;
            uint16_t *l_244 = &g_131[1];
            uint16_t **l_243 = &l_244;
            uint8_t *l_245 = &g_145;
            int16_t *l_246 = &g_247;
            int32_t l_251 = 0xD0D329E7L;
            int32_t l_263[3];
            int i;
            for (i = 0; i < 3; i++)
                l_263[i] = 0xBDACEEFDL;
            l_231 = ((*l_230) = (*g_227));
            if ((safe_div_func_uint32_t_u_u(0UL, ((((&g_122 != (void*)0) >= ((+((*l_246) = ((((g_157[7][5] , (safe_add_func_int32_t_s_s(p_83, ((+((*l_245) = ((l_238 ^ (l_239[0] == &p_80)) != ((safe_div_func_uint64_t_u_u((((*l_243) = (void*)0) != (void*)0), p_83)) , 65530UL)))) != 0x97F08B360709DD38LL)))) , 3UL) <= p_84) , (-1L)))) , p_81)) < g_248) && l_238))))
            { /* block id: 123 */
                int64_t l_252 = 9L;
                int32_t l_256 = 0xC2D7F6E2L;
                int32_t l_258 = 0x89346247L;
                int32_t l_264 = (-6L);
                uint16_t l_265 = 0xC023L;
                (*l_184) = 0L;
                for (l_205 = 1; (l_205 <= 5); l_205 += 1)
                { /* block id: 127 */
                    int16_t l_260 = (-9L);
                    int8_t *l_270 = (void*)0;
                    int32_t l_271 = 6L;
                    for (g_247 = 4; (g_247 >= 1); g_247 -= 1)
                    { /* block id: 130 */
                        int32_t *l_249 = (void*)0;
                        int32_t *l_250[3][9][2] = {{{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]}},{{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]}},{{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]},{&g_5[g_122][(g_122 + 3)][g_247],&g_5[g_122][(g_122 + 3)][g_247]}}};
                        int i, j, k;
                        ++l_265;
                    }
                    for (p_84 = 0; (p_84 <= 4); p_84 += 1)
                    { /* block id: 135 */
                        int i, j, k;
                        l_271 ^= ((safe_sub_func_uint8_t_u_u((g_175[(g_122 + 1)][(p_84 + 1)][p_84] && (&g_103 != l_270)), g_5[g_122][(g_122 + 5)][(p_84 + 2)])) > 0x997E4C72L);
                        return g_5[g_122][(l_205 + 2)][g_122];
                    }
                }
            }
            else
            { /* block id: 140 */
                const int32_t l_285 = 0x1D9A2A01L;
                uint32_t *l_286 = &l_161;
                (*l_184) = ((*g_156) ^ (&g_33 == (void*)0));
                for (p_84 = 1; (p_84 <= 5); p_84 += 1)
                { /* block id: 144 */
                    int i, j;
                    if (((safe_add_func_int16_t_s_s((((g_157[(p_84 + 4)][p_84] || (safe_mul_func_uint64_t_u_u(((*l_184) = (safe_add_func_int64_t_s_s((+(((safe_div_func_uint8_t_u_u(0xB1L, (((0UL | (safe_add_func_uint64_t_u_u(0xA65A11A75C4DA1E6LL, (p_83 & g_122)))) < ((((safe_div_func_uint8_t_u_u((((g_2 , (((1L ^ ((((*l_184) <= (-1L)) & 0xED5E2A7E6A233A8CLL) ^ 2L)) , l_285) || g_5[1][1][5])) <= 0x978AL) , g_5[2][3][5]), 0xA1L)) && g_5[2][3][5]) >= 253UL) < p_81)) & l_285))) , l_286) != (void*)0)), 0xFE16E36453E78FA6LL))), (*p_80)))) & 1UL) , p_81), (*g_156))) && g_131[1]))
                    { /* block id: 146 */
                        (*l_184) = (~0x49D72B7DBCEEC597LL);
                    }
                    else
                    { /* block id: 148 */
                        int32_t *l_288 = (void*)0;
                        l_288 = l_286;
                        if (p_82)
                            goto lbl_289;
                    }
                }
                if (p_82)
                    continue;
            }
            (*l_230) = &l_261[1];
        }
        for (p_82 = 1; (p_82 <= 5); p_82 += 1)
        { /* block id: 159 */
            int64_t *l_292 = (void*)0;
            int64_t *l_293 = &g_294;
            int64_t *l_303 = &g_304;
            uint8_t *l_306 = &g_145;
            int32_t l_307 = (-5L);
            int32_t *l_308 = &l_261[0];
            int32_t *l_309 = &g_5[1][8][3];
            int32_t *l_310 = (void*)0;
            int32_t *l_311 = &l_205;
            int32_t *l_312 = &l_262;
            int32_t l_313 = 0x57ABA26CL;
            int32_t *l_314 = &l_307;
            int32_t *l_315 = &g_160;
            int32_t *l_316 = (void*)0;
            int32_t *l_317 = &l_205;
            int32_t *l_318 = &l_255;
            int32_t *l_319[6] = {&l_205,&l_253,&l_205,&l_205,&l_253,&l_205};
            uint32_t *l_326 = &l_238;
            uint16_t *l_342 = &g_157[7][1];
            uint32_t l_343 = 0x6B96E4FFL;
            int i, j;
            (*l_308) = (safe_lshift_func_uint64_t_u_u((((*l_293) |= 0L) >= ((safe_mod_func_uint32_t_u_u(((p_81 , l_238) == ((0x74D21402CF99B61ELL & (safe_div_func_uint8_t_u_u(((*l_306) &= (((((((l_254 >= (safe_sub_func_int16_t_s_s((((g_157[(g_122 + 4)][p_82] = (0L <= ((g_305 ^= ((*l_184) = ((*l_303) = (safe_add_func_int64_t_s_s(((p_84 || (((0xA5F8B7EBC46D2E92LL >= (g_5[0][8][1] , (*p_80))) == p_83) < (*l_184))) < p_82), 3L))))) > p_83))) , g_175[2][7][2]) < p_82), l_254))) || (-1L)) ^ p_81) ^ p_84) , 0x30C8L) > p_84) | l_238)), p_81))) || g_157[(g_122 + 4)][p_82])), 0xCB6C9FC6L)) ^ l_307)), (*p_80)));
            l_307 &= (*l_308);
            ++g_321[8];
            if ((((*g_156) , ((l_254 != ((&g_122 != (g_324 = &g_14[2])) <= (*l_184))) , 4294967295UL)) <= ((l_306 == &p_81) , ((*l_326) = (*l_312)))))
            { /* block id: 171 */
                (*l_311) = ((((l_327 == (void*)0) & ((safe_add_func_int16_t_s_s(((safe_lshift_func_int16_t_s_s(p_81, 3)) , (safe_mul_func_int64_t_s_s(((((-4L) <= (((*l_293) = 0x75E040CA63DC5F1FLL) , g_325)) >= ((((((++(*l_326)) < (safe_mul_func_uint16_t_u_u((safe_add_func_uint16_t_u_u(((safe_rshift_func_int64_t_s_u(g_247, (((p_82 > (((l_342 = &g_131[0]) != (void*)0) >= (-1L))) == 8L) || g_321[4]))) != l_262), g_122)), 6UL))) != (-3L)) != g_160) , 0xAC447D3376355813LL) | (*g_324))) != 0x47B0789C417655FDLL), (*p_80)))), (*l_309))) , 1UL)) & (*g_324)) , l_343);
                if (p_83)
                    break;
            }
            else
            { /* block id: 177 */
                for (l_205 = 0; (l_205 > (-20)); l_205--)
                { /* block id: 180 */
                    int32_t *l_348 = (void*)0;
                    for (l_262 = (-23); (l_262 >= 6); l_262 = safe_add_func_uint32_t_u_u(l_262, 6))
                    { /* block id: 183 */
                        (*l_318) |= p_82;
                        if (p_84)
                            break;
                        (*g_227) = l_348;
                        return p_83;
                    }
                    (*l_309) = (safe_div_func_int64_t_s_s(g_5[2][3][5], (*p_80)));
                }
                for (l_254 = 0; (l_254 <= 13); ++l_254)
                { /* block id: 193 */
                    g_353--;
                }
            }
        }
    }
    if (((*l_184) = (0x0BA595F55AF59706LL && 0x3A8D199B151245E3LL)))
    { /* block id: 200 */
        (*l_184) = (*l_184);
    }
    else
    { /* block id: 202 */
        (*l_184) ^= p_83;
    }
    (*l_184) = 9L;
    return (*l_184);
}


/* ------------------------------------------ */
/* 
 * reads : g_33 g_103 g_5 g_14 g_122
 * writes: g_122
 */
static int32_t  func_87(const uint32_t  p_88)
{ /* block id: 30 */
    int32_t *l_92 = &g_5[3][5][3];
    int32_t l_93 = 0x065C771CL;
    int32_t *l_94 = &g_5[2][2][5];
    int32_t *l_95 = (void*)0;
    int32_t *l_96 = &g_5[3][3][4];
    int32_t *l_97 = &l_93;
    int32_t *l_98 = (void*)0;
    uint32_t l_99[2][3] = {{0x85EFCBABL,0x85EFCBABL,0x85EFCBABL},{3UL,3UL,3UL}};
    int32_t *l_102[2][10][8] = {{{&l_93,&g_5[2][8][1],&g_5[2][3][5],&g_5[2][8][1],&l_93,&g_5[2][3][5],(void*)0,(void*)0},{&l_93,&l_93,&g_5[2][8][1],&g_2,&g_5[1][7][6],&g_5[1][7][6],&g_2,&g_5[2][8][1]},{(void*)0,(void*)0,&g_5[2][8][1],&l_93,&g_5[2][3][5],&g_2,(void*)0,&l_93},{&g_5[1][7][6],(void*)0,&g_5[2][3][5],(void*)0,&g_5[2][3][5],(void*)0,&g_5[1][7][6],&l_93},{(void*)0,&g_2,&g_5[2][3][5],&l_93,&g_5[2][8][1],(void*)0,(void*)0,&g_5[2][8][1]},{&g_2,&g_5[1][7][6],&g_5[1][7][6],&g_2,&g_5[2][8][1],&l_93,&l_93,(void*)0},{(void*)0,&g_5[2][3][5],&l_93,&g_5[2][8][1],&g_5[2][3][5],&g_5[2][8][1],&l_93,&g_5[2][3][5]},{&g_5[1][7][6],&g_5[2][3][5],(void*)0,&l_93,&g_5[2][3][5],&l_93,&l_93,&l_93},{(void*)0,&g_5[1][7][6],&g_2,&g_2,&g_5[1][7][6],(void*)0,&l_93,&g_5[2][3][5]},{&l_93,&g_2,(void*)0,&l_93,&l_93,(void*)0,&l_93,&l_93}},{{&l_93,(void*)0,&l_93,&l_93,(void*)0,&g_2,&l_93,&g_5[2][3][5]},{&l_93,(void*)0,&g_5[1][7][6],&g_2,&g_2,&g_5[1][7][6],(void*)0,&l_93},{&l_93,&l_93,&g_5[2][3][5],&l_93,(void*)0,&g_5[2][3][5],&g_5[1][7][6],&g_5[2][3][5]},{&l_93,&g_5[2][8][1],&g_5[2][3][5],&g_5[2][8][1],&l_93,&g_5[2][3][5],(void*)0,(void*)0},{&l_93,&l_93,&g_5[2][8][1],&g_2,&g_5[1][7][6],&g_5[1][7][6],&g_2,&g_5[2][8][1]},{(void*)0,(void*)0,&g_5[2][8][1],&l_93,&g_5[2][3][5],&g_2,(void*)0,&l_93},{&g_5[1][7][6],(void*)0,&g_5[2][3][5],(void*)0,&g_5[2][3][5],(void*)0,&g_5[1][7][6],&l_93},{(void*)0,&g_2,&g_5[2][3][5],&l_93,&g_5[2][8][1],(void*)0,(void*)0,&g_5[2][8][1]},{&g_2,&g_5[1][7][6],&g_5[1][7][6],&g_2,&g_5[2][8][1],&l_93,&l_93,(void*)0},{(void*)0,&g_5[2][3][5],&l_93,&g_5[2][8][1],&g_5[2][3][5],&g_5[2][8][1],&l_93,&g_5[2][3][5]}}};
    int8_t l_104 = (-1L);
    int8_t l_105 = 0x27L;
    uint32_t l_106 = 0xA001A1B5L;
    int8_t *l_111 = &l_105;
    uint64_t *l_120 = &g_14[4];
    uint8_t l_121 = 247UL;
    int i, j, k;
    --l_99[1][0];
    (*l_97) = g_33;
    --l_106;
    g_122 &= (((((((void*)0 != &g_33) ^ ((safe_add_func_uint64_t_u_u((((*l_111) = g_103) , (((void*)0 != &g_103) | ((safe_sub_func_uint8_t_u_u((((safe_mul_func_uint16_t_u_u(0xD0A0L, (safe_add_func_uint8_t_u_u(((safe_lshift_func_int32_t_s_s(((*l_92) <= ((l_120 != l_120) || 0x4557L)), 13)) | (*l_97)), g_14[3])))) || (-1L)) && p_88), 0x16L)) <= l_121))), 0x259ABB1F7435F219LL)) | (*l_94))) > g_14[2]) >= p_88) , (void*)0) != (void*)0);
    return g_33;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    transparent_crc(g_2, "g_2", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 7; k++)
            {
                transparent_crc(g_5[i][j][k], "g_5[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_14[i], "g_14[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_33, "g_33", print_hash_value);
    transparent_crc(g_103, "g_103", print_hash_value);
    transparent_crc(g_122, "g_122", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_131[i], "g_131[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_145, "g_145", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 6; j++)
        {
            transparent_crc(g_157[i][j], "g_157[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_160, "g_160", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 8; j++)
        {
            for (k = 0; k < 5; k++)
            {
                transparent_crc(g_175[i][j][k], "g_175[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_247, "g_247", print_hash_value);
    transparent_crc(g_248, "g_248", print_hash_value);
    transparent_crc(g_294, "g_294", print_hash_value);
    transparent_crc(g_304, "g_304", print_hash_value);
    transparent_crc(g_305, "g_305", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_321[i], "g_321[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_325, "g_325", print_hash_value);
    transparent_crc(g_353, "g_353", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_448[i], "g_448[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_571[i], "g_571[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_767, "g_767", print_hash_value);
    transparent_crc(g_826, "g_826", print_hash_value);
    transparent_crc(g_925, "g_925", print_hash_value);
    transparent_crc(g_933, "g_933", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 9; j++)
        {
            transparent_crc(g_951[i][j], "g_951[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1070, "g_1070", print_hash_value);
    transparent_crc(g_1186, "g_1186", print_hash_value);
    transparent_crc(g_1518, "g_1518", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_1558[i][j][k], "g_1558[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1561, "g_1561", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 2; j++)
        {
            transparent_crc(g_1695[i][j], "g_1695[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1842, "g_1842", print_hash_value);
    transparent_crc(g_1848, "g_1848", print_hash_value);
    transparent_crc(g_1861, "g_1861", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_1879[i][j], "g_1879[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1881, "g_1881", print_hash_value);
    transparent_crc(g_1928, "g_1928", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 9; k++)
            {
                transparent_crc(g_1967[i][j][k], "g_1967[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1998, "g_1998", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_2070[i][j], "g_2070[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_2086[i], "g_2086[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2296, "g_2296", print_hash_value);
    transparent_crc(g_2343, "g_2343", print_hash_value);
    transparent_crc(g_2430, "g_2430", print_hash_value);
    transparent_crc(g_2505, "g_2505", print_hash_value);
    transparent_crc(g_2623, "g_2623", print_hash_value);
    transparent_crc(g_2840, "g_2840", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_2977[i][j], "g_2977[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_3007, "g_3007", print_hash_value);
    transparent_crc(g_3086, "g_3086", print_hash_value);
    transparent_crc(g_3327, "g_3327", print_hash_value);
    transparent_crc(g_3364, "g_3364", print_hash_value);
    transparent_crc(g_3382, "g_3382", print_hash_value);
    transparent_crc(g_3386, "g_3386", print_hash_value);
    transparent_crc(g_3390, "g_3390", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_3500[i], "g_3500[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_3513, "g_3513", print_hash_value);
    transparent_crc(g_3545, "g_3545", print_hash_value);
    transparent_crc(g_3646, "g_3646", print_hash_value);
    transparent_crc(g_3648, "g_3648", print_hash_value);
    transparent_crc(g_3672, "g_3672", print_hash_value);
    transparent_crc(g_3734, "g_3734", print_hash_value);
    transparent_crc(g_3809, "g_3809", print_hash_value);
    transparent_crc(g_3811, "g_3811", print_hash_value);
    transparent_crc(g_3827, "g_3827", print_hash_value);
    transparent_crc(g_3887, "g_3887", print_hash_value);
    transparent_crc(g_3908, "g_3908", print_hash_value);
    transparent_crc(g_4015, "g_4015", print_hash_value);
    transparent_crc(g_4127, "g_4127", print_hash_value);
    transparent_crc(g_4230, "g_4230", print_hash_value);
    transparent_crc(g_4332, "g_4332", print_hash_value);
    transparent_crc(g_4374, "g_4374", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_4376[i], "g_4376[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_4445, "g_4445", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 10; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_4457[i][j][k], "g_4457[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_4462, "g_4462", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_4465[i], "g_4465[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_4500, "g_4500", print_hash_value);
    transparent_crc(g_4517, "g_4517", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 1137
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 0
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 0
breakdown:
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 0
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 0
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0

XXX max expression depth: 41
breakdown:
   depth: 1, occurrence: 204
   depth: 2, occurrence: 63
   depth: 3, occurrence: 5
   depth: 4, occurrence: 4
   depth: 5, occurrence: 1
   depth: 6, occurrence: 1
   depth: 7, occurrence: 1
   depth: 8, occurrence: 1
   depth: 11, occurrence: 1
   depth: 12, occurrence: 1
   depth: 13, occurrence: 1
   depth: 17, occurrence: 1
   depth: 19, occurrence: 4
   depth: 20, occurrence: 2
   depth: 21, occurrence: 1
   depth: 22, occurrence: 5
   depth: 23, occurrence: 2
   depth: 24, occurrence: 4
   depth: 26, occurrence: 2
   depth: 28, occurrence: 1
   depth: 29, occurrence: 1
   depth: 30, occurrence: 2
   depth: 31, occurrence: 3
   depth: 33, occurrence: 1
   depth: 35, occurrence: 1
   depth: 36, occurrence: 2
   depth: 41, occurrence: 2

XXX total number of pointers: 833

XXX times a variable address is taken: 1989
XXX times a pointer is dereferenced on RHS: 684
breakdown:
   depth: 1, occurrence: 457
   depth: 2, occurrence: 170
   depth: 3, occurrence: 36
   depth: 4, occurrence: 21
XXX times a pointer is dereferenced on LHS: 555
breakdown:
   depth: 1, occurrence: 490
   depth: 2, occurrence: 43
   depth: 3, occurrence: 13
   depth: 4, occurrence: 8
   depth: 5, occurrence: 1
XXX times a pointer is compared with null: 100
XXX times a pointer is compared with address of another variable: 27
XXX times a pointer is compared with another pointer: 24
XXX times a pointer is qualified to be dereferenced: 14700

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 2535
   level: 2, occurrence: 845
   level: 3, occurrence: 273
   level: 4, occurrence: 87
   level: 5, occurrence: 11
XXX number of pointers point to pointers: 420
XXX number of pointers point to scalars: 413
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 31.9
XXX average alias set size: 1.52

XXX times a non-volatile is read: 3985
XXX times a non-volatile is write: 1850
XXX times a volatile is read: 156
XXX    times read thru a pointer: 66
XXX times a volatile is write: 36
XXX    times written thru a pointer: 6
XXX times a volatile is available for access: 2.7e+03
XXX percentage of non-volatile access: 96.8

XXX forward jumps: 3
XXX backward jumps: 17

XXX stmts: 215
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 34
   depth: 1, occurrence: 27
   depth: 2, occurrence: 42
   depth: 3, occurrence: 38
   depth: 4, occurrence: 34
   depth: 5, occurrence: 40

XXX percentage a fresh-made variable is used: 16.3
XXX percentage an existing variable is used: 83.7
********************* end of statistics **********************/

 /********************* This is a debug version  **********************/


